<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>openttd.constants</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://openttd-python.googlecode.com">OpenTTD-Python</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="openttd-module.html">Package&nbsp;openttd</a> ::
        Module&nbsp;constants
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="openttd.constants-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="openttd.constants-module.html">Module openttd.constants</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-comment"># OTTD Constants</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"><tt id="link-0" class="py-name" targets="Variable openttd.constants.PACKET_UDP_CLIENT_FIND_SERVER=openttd.constants-module.html#PACKET_UDP_CLIENT_FIND_SERVER"><a title="openttd.constants.PACKET_UDP_CLIENT_FIND_SERVER" class="py-name" href="#" onclick="return doclink('link-0', 'PACKET_UDP_CLIENT_FIND_SERVER', 'link-0');">PACKET_UDP_CLIENT_FIND_SERVER</a></tt><tt class="py-op">=</tt><tt class="py-number">0</tt> <tt class="py-comment">#Queries a game server for game information</tt> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt id="link-1" class="py-name" targets="Variable openttd.constants.PACKET_UDP_SERVER_RESPONSE=openttd.constants-module.html#PACKET_UDP_SERVER_RESPONSE"><a title="openttd.constants.PACKET_UDP_SERVER_RESPONSE" class="py-name" href="#" onclick="return doclink('link-1', 'PACKET_UDP_SERVER_RESPONSE', 'link-1');">PACKET_UDP_SERVER_RESPONSE</a></tt><tt class="py-op">=</tt><tt class="py-number">1</tt> <tt class="py-comment">#Reply of the game server with game information</tt> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt id="link-2" class="py-name" targets="Variable openttd.constants.PACKET_UDP_CLIENT_DETAIL_INFO=openttd.constants-module.html#PACKET_UDP_CLIENT_DETAIL_INFO"><a title="openttd.constants.PACKET_UDP_CLIENT_DETAIL_INFO" class="py-name" href="#" onclick="return doclink('link-2', 'PACKET_UDP_CLIENT_DETAIL_INFO', 'link-2');">PACKET_UDP_CLIENT_DETAIL_INFO</a></tt><tt class="py-op">=</tt><tt class="py-number">2</tt> <tt class="py-comment">#Queries a game server about details of the game, such as companies</tt> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt id="link-3" class="py-name" targets="Variable openttd.constants.PACKET_UDP_SERVER_DETAIL_INFO=openttd.constants-module.html#PACKET_UDP_SERVER_DETAIL_INFO"><a title="openttd.constants.PACKET_UDP_SERVER_DETAIL_INFO" class="py-name" href="#" onclick="return doclink('link-3', 'PACKET_UDP_SERVER_DETAIL_INFO', 'link-3');">PACKET_UDP_SERVER_DETAIL_INFO</a></tt><tt class="py-op">=</tt><tt class="py-number">3</tt>   <tt class="py-comment">#Reply of the game server about details of the game, such as companies</tt> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"><tt id="link-4" class="py-name" targets="Variable openttd.constants.PACKET_UDP_SERVER_REGISTER=openttd.constants-module.html#PACKET_UDP_SERVER_REGISTER"><a title="openttd.constants.PACKET_UDP_SERVER_REGISTER" class="py-name" href="#" onclick="return doclink('link-4', 'PACKET_UDP_SERVER_REGISTER', 'link-4');">PACKET_UDP_SERVER_REGISTER</a></tt><tt class="py-op">=</tt><tt class="py-number">4</tt>      <tt class="py-comment">#Packet to register itself to the master server</tt> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"><tt id="link-5" class="py-name" targets="Variable openttd.constants.PACKET_UDP_MASTER_ACK_REGISTER=openttd.constants-module.html#PACKET_UDP_MASTER_ACK_REGISTER"><a title="openttd.constants.PACKET_UDP_MASTER_ACK_REGISTER" class="py-name" href="#" onclick="return doclink('link-5', 'PACKET_UDP_MASTER_ACK_REGISTER', 'link-5');">PACKET_UDP_MASTER_ACK_REGISTER</a></tt><tt class="py-op">=</tt><tt class="py-number">5</tt>  <tt class="py-comment">#Packet indicating registration has succedeed</tt> </tt>
<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"><tt id="link-6" class="py-name" targets="Variable openttd.constants.PACKET_UDP_CLIENT_GET_LIST=openttd.constants-module.html#PACKET_UDP_CLIENT_GET_LIST"><a title="openttd.constants.PACKET_UDP_CLIENT_GET_LIST" class="py-name" href="#" onclick="return doclink('link-6', 'PACKET_UDP_CLIENT_GET_LIST', 'link-6');">PACKET_UDP_CLIENT_GET_LIST</a></tt><tt class="py-op">=</tt><tt class="py-number">6</tt>      <tt class="py-comment">#Request for serverlist from master server</tt> </tt>
<a name="L9"></a><tt class="py-lineno">  9</tt>  <tt class="py-line"><tt id="link-7" class="py-name" targets="Variable openttd.constants.PACKET_UDP_MASTER_RESPONSE_LIST=openttd.constants-module.html#PACKET_UDP_MASTER_RESPONSE_LIST"><a title="openttd.constants.PACKET_UDP_MASTER_RESPONSE_LIST" class="py-name" href="#" onclick="return doclink('link-7', 'PACKET_UDP_MASTER_RESPONSE_LIST', 'link-7');">PACKET_UDP_MASTER_RESPONSE_LIST</a></tt><tt class="py-op">=</tt><tt class="py-number">7</tt> <tt class="py-comment">#Response from master server with server ip's + port's</tt> </tt>
<a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line"><tt id="link-8" class="py-name" targets="Variable openttd.constants.PACKET_UDP_SERVER_UNREGISTER=openttd.constants-module.html#PACKET_UDP_SERVER_UNREGISTER"><a title="openttd.constants.PACKET_UDP_SERVER_UNREGISTER" class="py-name" href="#" onclick="return doclink('link-8', 'PACKET_UDP_SERVER_UNREGISTER', 'link-8');">PACKET_UDP_SERVER_UNREGISTER</a></tt><tt class="py-op">=</tt><tt class="py-number">8</tt>    <tt class="py-comment">#Request to be removed from the server-list</tt> </tt>
<a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line"><tt id="link-9" class="py-name" targets="Variable openttd.constants.PACKET_UDP_CLIENT_GET_NEWGRFS=openttd.constants-module.html#PACKET_UDP_CLIENT_GET_NEWGRFS"><a title="openttd.constants.PACKET_UDP_CLIENT_GET_NEWGRFS" class="py-name" href="#" onclick="return doclink('link-9', 'PACKET_UDP_CLIENT_GET_NEWGRFS', 'link-9');">PACKET_UDP_CLIENT_GET_NEWGRFS</a></tt><tt class="py-op">=</tt><tt class="py-number">9</tt>   <tt class="py-comment">#Requests the name for a list of GRFs (GRF_ID and MD5)</tt> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line"><tt id="link-10" class="py-name" targets="Variable openttd.constants.PACKET_UDP_SERVER_NEWGRFS=openttd.constants-module.html#PACKET_UDP_SERVER_NEWGRFS"><a title="openttd.constants.PACKET_UDP_SERVER_NEWGRFS" class="py-name" href="#" onclick="return doclink('link-10', 'PACKET_UDP_SERVER_NEWGRFS', 'link-10');">PACKET_UDP_SERVER_NEWGRFS</a></tt><tt class="py-op">=</tt><tt class="py-number">10</tt>       <tt class="py-comment">#Sends the list of NewGRF's requested.</tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line"><tt id="link-11" class="py-name" targets="Variable openttd.constants.PACKET_UDP_END=openttd.constants-module.html#PACKET_UDP_END"><a title="openttd.constants.PACKET_UDP_END" class="py-name" href="#" onclick="return doclink('link-11', 'PACKET_UDP_END', 'link-11');">PACKET_UDP_END</a></tt><tt class="py-op">=</tt><tt class="py-number">11</tt>                 <tt class="py-comment">#Must ALWAYS be on the end of this list!! (period)</tt> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line"> </tt>
<a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line"><tt id="link-12" class="py-name" targets="Variable openttd.constants.NETWORK_COMPANY_INFO_VERSION=openttd.constants-module.html#NETWORK_COMPANY_INFO_VERSION"><a title="openttd.constants.NETWORK_COMPANY_INFO_VERSION" class="py-name" href="#" onclick="return doclink('link-12', 'NETWORK_COMPANY_INFO_VERSION', 'link-12');">NETWORK_COMPANY_INFO_VERSION</a></tt> <tt class="py-op">=</tt> <tt class="py-number">5</tt> </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line"><tt id="link-13" class="py-name" targets="Variable openttd.constants.NETWORK_VEHICLE_TYPES=openttd.constants-module.html#NETWORK_VEHICLE_TYPES"><a title="openttd.constants.NETWORK_VEHICLE_TYPES" class="py-name" href="#" onclick="return doclink('link-13', 'NETWORK_VEHICLE_TYPES', 'link-13');">NETWORK_VEHICLE_TYPES</a></tt> <tt class="py-op">=</tt> <tt class="py-number">5</tt> </tt>
<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line"><tt id="link-14" class="py-name" targets="Variable openttd.constants.NETWORK_STATION_TYPES=openttd.constants-module.html#NETWORK_STATION_TYPES"><a title="openttd.constants.NETWORK_STATION_TYPES" class="py-name" href="#" onclick="return doclink('link-14', 'NETWORK_STATION_TYPES', 'link-14');">NETWORK_STATION_TYPES</a></tt> <tt class="py-op">=</tt> <tt class="py-number">5</tt> </tt>
<a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line"><tt id="link-15" class="py-name" targets="Variable openttd.constants.NETWORK_MAX_GRF_COUNT=openttd.constants-module.html#NETWORK_MAX_GRF_COUNT"><a title="openttd.constants.NETWORK_MAX_GRF_COUNT" class="py-name" href="#" onclick="return doclink('link-15', 'NETWORK_MAX_GRF_COUNT', 'link-15');">NETWORK_MAX_GRF_COUNT</a></tt> <tt class="py-op">=</tt> <tt class="py-number">62</tt> </tt>
<a name="L19"></a><tt class="py-lineno"> 19</tt>  <tt class="py-line"> </tt>
<a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line"><tt class="py-comment"># packet IDs</tt> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line"><tt id="link-16" class="py-name" targets="Variable openttd.constants.PACKET_SERVER_FULL=openttd.constants-module.html#PACKET_SERVER_FULL"><a title="openttd.constants.PACKET_SERVER_FULL" class="py-name" href="#" onclick="return doclink('link-16', 'PACKET_SERVER_FULL', 'link-16');">PACKET_SERVER_FULL</a></tt><tt class="py-op">=</tt><tt class="py-number">0</tt> </tt>
<a name="L22"></a><tt class="py-lineno"> 22</tt>  <tt class="py-line"><tt id="link-17" class="py-name" targets="Variable openttd.constants.PACKET_SERVER_BANNED=openttd.constants-module.html#PACKET_SERVER_BANNED"><a title="openttd.constants.PACKET_SERVER_BANNED" class="py-name" href="#" onclick="return doclink('link-17', 'PACKET_SERVER_BANNED', 'link-17');">PACKET_SERVER_BANNED</a></tt><tt class="py-op">=</tt><tt class="py-number">1</tt> </tt>
<a name="L23"></a><tt class="py-lineno"> 23</tt>  <tt class="py-line"><tt id="link-18" class="py-name" targets="Variable openttd.constants.PACKET_CLIENT_JOIN=openttd.constants-module.html#PACKET_CLIENT_JOIN"><a title="openttd.constants.PACKET_CLIENT_JOIN" class="py-name" href="#" onclick="return doclink('link-18', 'PACKET_CLIENT_JOIN', 'link-18');">PACKET_CLIENT_JOIN</a></tt><tt class="py-op">=</tt><tt class="py-number">2</tt> </tt>
<a name="L24"></a><tt class="py-lineno"> 24</tt>  <tt class="py-line"><tt id="link-19" class="py-name" targets="Variable openttd.constants.PACKET_SERVER_ERROR=openttd.constants-module.html#PACKET_SERVER_ERROR"><a title="openttd.constants.PACKET_SERVER_ERROR" class="py-name" href="#" onclick="return doclink('link-19', 'PACKET_SERVER_ERROR', 'link-19');">PACKET_SERVER_ERROR</a></tt><tt class="py-op">=</tt><tt class="py-number">3</tt> </tt>
<a name="L25"></a><tt class="py-lineno"> 25</tt>  <tt class="py-line"><tt id="link-20" class="py-name" targets="Variable openttd.constants.PACKET_CLIENT_COMPANY_INFO=openttd.constants-module.html#PACKET_CLIENT_COMPANY_INFO"><a title="openttd.constants.PACKET_CLIENT_COMPANY_INFO" class="py-name" href="#" onclick="return doclink('link-20', 'PACKET_CLIENT_COMPANY_INFO', 'link-20');">PACKET_CLIENT_COMPANY_INFO</a></tt><tt class="py-op">=</tt><tt class="py-number">4</tt> </tt>
<a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line"><tt id="link-21" class="py-name" targets="Variable openttd.constants.PACKET_SERVER_COMPANY_INFO=openttd.constants-module.html#PACKET_SERVER_COMPANY_INFO"><a title="openttd.constants.PACKET_SERVER_COMPANY_INFO" class="py-name" href="#" onclick="return doclink('link-21', 'PACKET_SERVER_COMPANY_INFO', 'link-21');">PACKET_SERVER_COMPANY_INFO</a></tt><tt class="py-op">=</tt><tt class="py-number">5</tt> </tt>
<a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line"><tt id="link-22" class="py-name" targets="Variable openttd.constants.PACKET_SERVER_CLIENT_INFO=openttd.constants-module.html#PACKET_SERVER_CLIENT_INFO"><a title="openttd.constants.PACKET_SERVER_CLIENT_INFO" class="py-name" href="#" onclick="return doclink('link-22', 'PACKET_SERVER_CLIENT_INFO', 'link-22');">PACKET_SERVER_CLIENT_INFO</a></tt><tt class="py-op">=</tt><tt class="py-number">6</tt> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line"><tt id="link-23" class="py-name" targets="Variable openttd.constants.PACKET_SERVER_NEED_PASSWORD=openttd.constants-module.html#PACKET_SERVER_NEED_PASSWORD"><a title="openttd.constants.PACKET_SERVER_NEED_PASSWORD" class="py-name" href="#" onclick="return doclink('link-23', 'PACKET_SERVER_NEED_PASSWORD', 'link-23');">PACKET_SERVER_NEED_PASSWORD</a></tt><tt class="py-op">=</tt><tt class="py-number">7</tt> </tt>
<a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line"><tt id="link-24" class="py-name" targets="Variable openttd.constants.PACKET_CLIENT_PASSWORD=openttd.constants-module.html#PACKET_CLIENT_PASSWORD"><a title="openttd.constants.PACKET_CLIENT_PASSWORD" class="py-name" href="#" onclick="return doclink('link-24', 'PACKET_CLIENT_PASSWORD', 'link-24');">PACKET_CLIENT_PASSWORD</a></tt><tt class="py-op">=</tt><tt class="py-number">8</tt> </tt>
<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line"><tt id="link-25" class="py-name" targets="Variable openttd.constants.PACKET_SERVER_WELCOME=openttd.constants-module.html#PACKET_SERVER_WELCOME"><a title="openttd.constants.PACKET_SERVER_WELCOME" class="py-name" href="#" onclick="return doclink('link-25', 'PACKET_SERVER_WELCOME', 'link-25');">PACKET_SERVER_WELCOME</a></tt><tt class="py-op">=</tt><tt class="py-number">9</tt> </tt>
<a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line"><tt id="link-26" class="py-name" targets="Variable openttd.constants.PACKET_CLIENT_GETMAP=openttd.constants-module.html#PACKET_CLIENT_GETMAP"><a title="openttd.constants.PACKET_CLIENT_GETMAP" class="py-name" href="#" onclick="return doclink('link-26', 'PACKET_CLIENT_GETMAP', 'link-26');">PACKET_CLIENT_GETMAP</a></tt><tt class="py-op">=</tt><tt class="py-number">10</tt> </tt>
<a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line"><tt id="link-27" class="py-name" targets="Variable openttd.constants.PACKET_SERVER_WAIT=openttd.constants-module.html#PACKET_SERVER_WAIT"><a title="openttd.constants.PACKET_SERVER_WAIT" class="py-name" href="#" onclick="return doclink('link-27', 'PACKET_SERVER_WAIT', 'link-27');">PACKET_SERVER_WAIT</a></tt><tt class="py-op">=</tt><tt class="py-number">11</tt> </tt>
<a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line"><tt id="link-28" class="py-name" targets="Variable openttd.constants.PACKET_SERVER_MAP=openttd.constants-module.html#PACKET_SERVER_MAP"><a title="openttd.constants.PACKET_SERVER_MAP" class="py-name" href="#" onclick="return doclink('link-28', 'PACKET_SERVER_MAP', 'link-28');">PACKET_SERVER_MAP</a></tt><tt class="py-op">=</tt><tt class="py-number">12</tt> </tt>
<a name="L34"></a><tt class="py-lineno"> 34</tt>  <tt class="py-line"><tt id="link-29" class="py-name" targets="Variable openttd.constants.PACKET_CLIENT_MAP_OK=openttd.constants-module.html#PACKET_CLIENT_MAP_OK"><a title="openttd.constants.PACKET_CLIENT_MAP_OK" class="py-name" href="#" onclick="return doclink('link-29', 'PACKET_CLIENT_MAP_OK', 'link-29');">PACKET_CLIENT_MAP_OK</a></tt><tt class="py-op">=</tt><tt class="py-number">13</tt> </tt>
<a name="L35"></a><tt class="py-lineno"> 35</tt>  <tt class="py-line"><tt id="link-30" class="py-name" targets="Variable openttd.constants.PACKET_SERVER_JOIN=openttd.constants-module.html#PACKET_SERVER_JOIN"><a title="openttd.constants.PACKET_SERVER_JOIN" class="py-name" href="#" onclick="return doclink('link-30', 'PACKET_SERVER_JOIN', 'link-30');">PACKET_SERVER_JOIN</a></tt><tt class="py-op">=</tt><tt class="py-number">14</tt> </tt>
<a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line"><tt id="link-31" class="py-name" targets="Variable openttd.constants.PACKET_SERVER_FRAME=openttd.constants-module.html#PACKET_SERVER_FRAME"><a title="openttd.constants.PACKET_SERVER_FRAME" class="py-name" href="#" onclick="return doclink('link-31', 'PACKET_SERVER_FRAME', 'link-31');">PACKET_SERVER_FRAME</a></tt><tt class="py-op">=</tt><tt class="py-number">15</tt> </tt>
<a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line"><tt id="link-32" class="py-name" targets="Variable openttd.constants.PACKET_SERVER_SYNC=openttd.constants-module.html#PACKET_SERVER_SYNC"><a title="openttd.constants.PACKET_SERVER_SYNC" class="py-name" href="#" onclick="return doclink('link-32', 'PACKET_SERVER_SYNC', 'link-32');">PACKET_SERVER_SYNC</a></tt><tt class="py-op">=</tt><tt class="py-number">16</tt> </tt>
<a name="L38"></a><tt class="py-lineno"> 38</tt>  <tt class="py-line"><tt id="link-33" class="py-name" targets="Variable openttd.constants.PACKET_CLIENT_ACK=openttd.constants-module.html#PACKET_CLIENT_ACK"><a title="openttd.constants.PACKET_CLIENT_ACK" class="py-name" href="#" onclick="return doclink('link-33', 'PACKET_CLIENT_ACK', 'link-33');">PACKET_CLIENT_ACK</a></tt><tt class="py-op">=</tt><tt class="py-number">17</tt> </tt>
<a name="L39"></a><tt class="py-lineno"> 39</tt>  <tt class="py-line"><tt id="link-34" class="py-name" targets="Variable openttd.constants.PACKET_CLIENT_COMMAND=openttd.constants-module.html#PACKET_CLIENT_COMMAND"><a title="openttd.constants.PACKET_CLIENT_COMMAND" class="py-name" href="#" onclick="return doclink('link-34', 'PACKET_CLIENT_COMMAND', 'link-34');">PACKET_CLIENT_COMMAND</a></tt><tt class="py-op">=</tt><tt class="py-number">18</tt> </tt>
<a name="L40"></a><tt class="py-lineno"> 40</tt>  <tt class="py-line"><tt id="link-35" class="py-name" targets="Variable openttd.constants.PACKET_SERVER_COMMAND=openttd.constants-module.html#PACKET_SERVER_COMMAND"><a title="openttd.constants.PACKET_SERVER_COMMAND" class="py-name" href="#" onclick="return doclink('link-35', 'PACKET_SERVER_COMMAND', 'link-35');">PACKET_SERVER_COMMAND</a></tt><tt class="py-op">=</tt><tt class="py-number">19</tt> </tt>
<a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line"><tt id="link-36" class="py-name" targets="Variable openttd.constants.PACKET_CLIENT_CHAT=openttd.constants-module.html#PACKET_CLIENT_CHAT"><a title="openttd.constants.PACKET_CLIENT_CHAT" class="py-name" href="#" onclick="return doclink('link-36', 'PACKET_CLIENT_CHAT', 'link-36');">PACKET_CLIENT_CHAT</a></tt><tt class="py-op">=</tt><tt class="py-number">20</tt> </tt>
<a name="L42"></a><tt class="py-lineno"> 42</tt>  <tt class="py-line"><tt id="link-37" class="py-name" targets="Variable openttd.constants.PACKET_SERVER_CHAT=openttd.constants-module.html#PACKET_SERVER_CHAT"><a title="openttd.constants.PACKET_SERVER_CHAT" class="py-name" href="#" onclick="return doclink('link-37', 'PACKET_SERVER_CHAT', 'link-37');">PACKET_SERVER_CHAT</a></tt><tt class="py-op">=</tt><tt class="py-number">21</tt> </tt>
<a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line"><tt id="link-38" class="py-name" targets="Variable openttd.constants.PACKET_CLIENT_SET_PASSWORD=openttd.constants-module.html#PACKET_CLIENT_SET_PASSWORD"><a title="openttd.constants.PACKET_CLIENT_SET_PASSWORD" class="py-name" href="#" onclick="return doclink('link-38', 'PACKET_CLIENT_SET_PASSWORD', 'link-38');">PACKET_CLIENT_SET_PASSWORD</a></tt><tt class="py-op">=</tt><tt class="py-number">22</tt> </tt>
<a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line"><tt id="link-39" class="py-name" targets="Variable openttd.constants.PACKET_CLIENT_SET_NAME=openttd.constants-module.html#PACKET_CLIENT_SET_NAME"><a title="openttd.constants.PACKET_CLIENT_SET_NAME" class="py-name" href="#" onclick="return doclink('link-39', 'PACKET_CLIENT_SET_NAME', 'link-39');">PACKET_CLIENT_SET_NAME</a></tt><tt class="py-op">=</tt><tt class="py-number">23</tt> </tt>
<a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line"><tt id="link-40" class="py-name" targets="Variable openttd.constants.PACKET_CLIENT_QUIT=openttd.constants-module.html#PACKET_CLIENT_QUIT"><a title="openttd.constants.PACKET_CLIENT_QUIT" class="py-name" href="#" onclick="return doclink('link-40', 'PACKET_CLIENT_QUIT', 'link-40');">PACKET_CLIENT_QUIT</a></tt><tt class="py-op">=</tt><tt class="py-number">24</tt> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line"><tt id="link-41" class="py-name" targets="Variable openttd.constants.PACKET_CLIENT_ERROR=openttd.constants-module.html#PACKET_CLIENT_ERROR"><a title="openttd.constants.PACKET_CLIENT_ERROR" class="py-name" href="#" onclick="return doclink('link-41', 'PACKET_CLIENT_ERROR', 'link-41');">PACKET_CLIENT_ERROR</a></tt><tt class="py-op">=</tt><tt class="py-number">25</tt> </tt>
<a name="L47"></a><tt class="py-lineno"> 47</tt>  <tt class="py-line"><tt id="link-42" class="py-name" targets="Variable openttd.constants.PACKET_SERVER_QUIT=openttd.constants-module.html#PACKET_SERVER_QUIT"><a title="openttd.constants.PACKET_SERVER_QUIT" class="py-name" href="#" onclick="return doclink('link-42', 'PACKET_SERVER_QUIT', 'link-42');">PACKET_SERVER_QUIT</a></tt><tt class="py-op">=</tt><tt class="py-number">26</tt> </tt>
<a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line"><tt id="link-43" class="py-name" targets="Variable openttd.constants.PACKET_SERVER_ERROR_QUIT=openttd.constants-module.html#PACKET_SERVER_ERROR_QUIT"><a title="openttd.constants.PACKET_SERVER_ERROR_QUIT" class="py-name" href="#" onclick="return doclink('link-43', 'PACKET_SERVER_ERROR_QUIT', 'link-43');">PACKET_SERVER_ERROR_QUIT</a></tt><tt class="py-op">=</tt><tt class="py-number">27</tt> </tt>
<a name="L49"></a><tt class="py-lineno"> 49</tt>  <tt class="py-line"><tt id="link-44" class="py-name" targets="Variable openttd.constants.PACKET_SERVER_SHUTDOWN=openttd.constants-module.html#PACKET_SERVER_SHUTDOWN"><a title="openttd.constants.PACKET_SERVER_SHUTDOWN" class="py-name" href="#" onclick="return doclink('link-44', 'PACKET_SERVER_SHUTDOWN', 'link-44');">PACKET_SERVER_SHUTDOWN</a></tt><tt class="py-op">=</tt><tt class="py-number">28</tt> </tt>
<a name="L50"></a><tt class="py-lineno"> 50</tt>  <tt class="py-line"><tt id="link-45" class="py-name" targets="Variable openttd.constants.PACKET_SERVER_NEWGAME=openttd.constants-module.html#PACKET_SERVER_NEWGAME"><a title="openttd.constants.PACKET_SERVER_NEWGAME" class="py-name" href="#" onclick="return doclink('link-45', 'PACKET_SERVER_NEWGAME', 'link-45');">PACKET_SERVER_NEWGAME</a></tt><tt class="py-op">=</tt><tt class="py-number">29</tt> </tt>
<a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line"><tt id="link-46" class="py-name" targets="Variable openttd.constants.PACKET_SERVER_RCON=openttd.constants-module.html#PACKET_SERVER_RCON"><a title="openttd.constants.PACKET_SERVER_RCON" class="py-name" href="#" onclick="return doclink('link-46', 'PACKET_SERVER_RCON', 'link-46');">PACKET_SERVER_RCON</a></tt><tt class="py-op">=</tt><tt class="py-number">30</tt> </tt>
<a name="L52"></a><tt class="py-lineno"> 52</tt>  <tt class="py-line"><tt id="link-47" class="py-name" targets="Variable openttd.constants.PACKET_CLIENT_RCON=openttd.constants-module.html#PACKET_CLIENT_RCON"><a title="openttd.constants.PACKET_CLIENT_RCON" class="py-name" href="#" onclick="return doclink('link-47', 'PACKET_CLIENT_RCON', 'link-47');">PACKET_CLIENT_RCON</a></tt><tt class="py-op">=</tt><tt class="py-number">31</tt> </tt>
<a name="L53"></a><tt class="py-lineno"> 53</tt>  <tt class="py-line"><tt id="link-48" class="py-name" targets="Variable openttd.constants.PACKET_SERVER_CHECK_NEWGRFS=openttd.constants-module.html#PACKET_SERVER_CHECK_NEWGRFS"><a title="openttd.constants.PACKET_SERVER_CHECK_NEWGRFS" class="py-name" href="#" onclick="return doclink('link-48', 'PACKET_SERVER_CHECK_NEWGRFS', 'link-48');">PACKET_SERVER_CHECK_NEWGRFS</a></tt><tt class="py-op">=</tt><tt class="py-number">32</tt> </tt>
<a name="L54"></a><tt class="py-lineno"> 54</tt>  <tt class="py-line"><tt id="link-49" class="py-name" targets="Variable openttd.constants.PACKET_CLIENT_NEWGRFS_CHECKED=openttd.constants-module.html#PACKET_CLIENT_NEWGRFS_CHECKED"><a title="openttd.constants.PACKET_CLIENT_NEWGRFS_CHECKED" class="py-name" href="#" onclick="return doclink('link-49', 'PACKET_CLIENT_NEWGRFS_CHECKED', 'link-49');">PACKET_CLIENT_NEWGRFS_CHECKED</a></tt><tt class="py-op">=</tt><tt class="py-number">33</tt> </tt>
<a name="L55"></a><tt class="py-lineno"> 55</tt>  <tt class="py-line"><tt id="link-50" class="py-name" targets="Variable openttd.constants.PACKET_END=openttd.constants-module.html#PACKET_END"><a title="openttd.constants.PACKET_END" class="py-name" href="#" onclick="return doclink('link-50', 'PACKET_END', 'link-50');">PACKET_END</a></tt><tt class="py-op">=</tt><tt class="py-number">34</tt> </tt>
<a name="L56"></a><tt class="py-lineno"> 56</tt>  <tt class="py-line"> </tt>
<a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line"><tt id="link-51" class="py-name" targets="Variable openttd.constants.MAP_PACKET_START=openttd.constants-module.html#MAP_PACKET_START"><a title="openttd.constants.MAP_PACKET_START" class="py-name" href="#" onclick="return doclink('link-51', 'MAP_PACKET_START', 'link-51');">MAP_PACKET_START</a></tt><tt class="py-op">=</tt><tt class="py-number">0</tt> </tt>
<a name="L58"></a><tt class="py-lineno"> 58</tt>  <tt class="py-line"><tt id="link-52" class="py-name" targets="Variable openttd.constants.MAP_PACKET_NORMAL=openttd.constants-module.html#MAP_PACKET_NORMAL"><a title="openttd.constants.MAP_PACKET_NORMAL" class="py-name" href="#" onclick="return doclink('link-52', 'MAP_PACKET_NORMAL', 'link-52');">MAP_PACKET_NORMAL</a></tt><tt class="py-op">=</tt><tt class="py-number">1</tt> </tt>
<a name="L59"></a><tt class="py-lineno"> 59</tt>  <tt class="py-line"><tt id="link-53" class="py-name" targets="Variable openttd.constants.MAP_PACKET_END=openttd.constants-module.html#MAP_PACKET_END"><a title="openttd.constants.MAP_PACKET_END" class="py-name" href="#" onclick="return doclink('link-53', 'MAP_PACKET_END', 'link-53');">MAP_PACKET_END</a></tt><tt class="py-op">=</tt><tt class="py-number">2</tt> </tt>
<a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line"> </tt>
<a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line"><tt id="link-54" class="py-name" targets="Variable openttd.constants.MAX_COMPANIES=openttd.constants-module.html#MAX_COMPANIES"><a title="openttd.constants.MAX_COMPANIES" class="py-name" href="#" onclick="return doclink('link-54', 'MAX_COMPANIES', 'link-54');">MAX_COMPANIES</a></tt><tt class="py-op">=</tt><tt class="py-number">10</tt> </tt>
<a name="L62"></a><tt class="py-lineno"> 62</tt>  <tt class="py-line"> </tt>
<a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line"><tt id="link-55" class="py-name" targets="Variable openttd.constants.packet_names=openttd.constants-module.html#packet_names"><a title="openttd.constants.packet_names" class="py-name" href="#" onclick="return doclink('link-55', 'packet_names', 'link-55');">packet_names</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt> </tt>
<a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line">        <tt class="py-number">0</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_SERVER_FULL"</tt><tt class="py-op">,</tt> </tt>
<a name="L65"></a><tt class="py-lineno"> 65</tt>  <tt class="py-line">        <tt class="py-number">1</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_SERVER_BANNED"</tt><tt class="py-op">,</tt> </tt>
<a name="L66"></a><tt class="py-lineno"> 66</tt>  <tt class="py-line">        <tt class="py-number">2</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_CLIENT_JOIN"</tt><tt class="py-op">,</tt> </tt>
<a name="L67"></a><tt class="py-lineno"> 67</tt>  <tt class="py-line">        <tt class="py-number">3</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_SERVER_ERROR"</tt><tt class="py-op">,</tt> </tt>
<a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line">        <tt class="py-number">4</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_CLIENT_COMPANY_INFO"</tt><tt class="py-op">,</tt> </tt>
<a name="L69"></a><tt class="py-lineno"> 69</tt>  <tt class="py-line">        <tt class="py-number">5</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_SERVER_COMPANY_INFO"</tt><tt class="py-op">,</tt> </tt>
<a name="L70"></a><tt class="py-lineno"> 70</tt>  <tt class="py-line">        <tt class="py-number">6</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_SERVER_CLIENT_INFO"</tt><tt class="py-op">,</tt> </tt>
<a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line">        <tt class="py-number">7</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_SERVER_NEED_PASSWORD"</tt><tt class="py-op">,</tt> </tt>
<a name="L72"></a><tt class="py-lineno"> 72</tt>  <tt class="py-line">        <tt class="py-number">8</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_CLIENT_PASSWORD"</tt><tt class="py-op">,</tt> </tt>
<a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line">        <tt class="py-number">9</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_SERVER_WELCOME"</tt><tt class="py-op">,</tt> </tt>
<a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line">        <tt class="py-number">10</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_CLIENT_GETMAP"</tt><tt class="py-op">,</tt> </tt>
<a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line">        <tt class="py-number">11</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_SERVER_WAIT"</tt><tt class="py-op">,</tt> </tt>
<a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line">        <tt class="py-number">12</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_SERVER_MAP"</tt><tt class="py-op">,</tt> </tt>
<a name="L77"></a><tt class="py-lineno"> 77</tt>  <tt class="py-line">        <tt class="py-number">13</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_CLIENT_MAP_OK"</tt><tt class="py-op">,</tt> </tt>
<a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line">        <tt class="py-number">14</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_SERVER_JOIN"</tt><tt class="py-op">,</tt> </tt>
<a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line">        <tt class="py-number">15</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_SERVER_FRAME"</tt><tt class="py-op">,</tt> </tt>
<a name="L80"></a><tt class="py-lineno"> 80</tt>  <tt class="py-line">        <tt class="py-number">16</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_SERVER_SYNC"</tt><tt class="py-op">,</tt> </tt>
<a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line">        <tt class="py-number">17</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_CLIENT_ACK"</tt><tt class="py-op">,</tt> </tt>
<a name="L82"></a><tt class="py-lineno"> 82</tt>  <tt class="py-line">        <tt class="py-number">18</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_CLIENT_COMMAND"</tt><tt class="py-op">,</tt> </tt>
<a name="L83"></a><tt class="py-lineno"> 83</tt>  <tt class="py-line">        <tt class="py-number">19</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_SERVER_COMMAND"</tt><tt class="py-op">,</tt> </tt>
<a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line">        <tt class="py-number">20</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_CLIENT_CHAT"</tt><tt class="py-op">,</tt> </tt>
<a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line">        <tt class="py-number">21</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_SERVER_CHAT"</tt><tt class="py-op">,</tt> </tt>
<a name="L86"></a><tt class="py-lineno"> 86</tt>  <tt class="py-line">        <tt class="py-number">22</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_CLIENT_SET_PASSWORD"</tt><tt class="py-op">,</tt> </tt>
<a name="L87"></a><tt class="py-lineno"> 87</tt>  <tt class="py-line">        <tt class="py-number">23</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_CLIENT_SET_NAME"</tt><tt class="py-op">,</tt> </tt>
<a name="L88"></a><tt class="py-lineno"> 88</tt>  <tt class="py-line">        <tt class="py-number">24</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_CLIENT_QUIT"</tt><tt class="py-op">,</tt> </tt>
<a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line">        <tt class="py-number">25</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_CLIENT_ERROR"</tt><tt class="py-op">,</tt> </tt>
<a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line">        <tt class="py-number">26</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_SERVER_QUIT"</tt><tt class="py-op">,</tt> </tt>
<a name="L91"></a><tt class="py-lineno"> 91</tt>  <tt class="py-line">        <tt class="py-number">27</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_SERVER_ERROR_QUIT"</tt><tt class="py-op">,</tt> </tt>
<a name="L92"></a><tt class="py-lineno"> 92</tt>  <tt class="py-line">        <tt class="py-number">28</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_SERVER_SHUTDOWN"</tt><tt class="py-op">,</tt> </tt>
<a name="L93"></a><tt class="py-lineno"> 93</tt>  <tt class="py-line">        <tt class="py-number">29</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_SERVER_NEWGAME"</tt><tt class="py-op">,</tt> </tt>
<a name="L94"></a><tt class="py-lineno"> 94</tt>  <tt class="py-line">        <tt class="py-number">30</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_SERVER_RCON"</tt><tt class="py-op">,</tt> </tt>
<a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line">        <tt class="py-number">31</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_CLIENT_RCON"</tt><tt class="py-op">,</tt> </tt>
<a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line">        <tt class="py-number">32</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_SERVER_CHECK_NEWGRFS"</tt><tt class="py-op">,</tt> </tt>
<a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line">        <tt class="py-number">33</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_CLIENT_NEWGRFS_CHECKED"</tt><tt class="py-op">,</tt> </tt>
<a name="L98"></a><tt class="py-lineno"> 98</tt>  <tt class="py-line">        <tt class="py-number">34</tt><tt class="py-op">:</tt><tt class="py-string">"PACKET_END"</tt> </tt>
<a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line"><tt class="py-op">}</tt> </tt>
<a name="L100"></a><tt class="py-lineno">100</tt>  <tt class="py-line"> </tt>
<a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line"><tt id="link-56" class="py-name" targets="Variable openttd.constants.command_names=openttd.constants-module.html#command_names"><a title="openttd.constants.command_names" class="py-name" href="#" onclick="return doclink('link-56', 'command_names', 'link-56');">command_names</a></tt><tt class="py-op">=</tt><tt class="py-op">{</tt> </tt>
<a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line">        <tt class="py-number">0</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_RAILROAD_TRACK'</tt><tt class="py-op">,</tt> <tt class="py-string">'build a rail track'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L103"></a><tt class="py-lineno">103</tt>  <tt class="py-line">        <tt class="py-number">1</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_REMOVE_RAILROAD_TRACK'</tt><tt class="py-op">,</tt><tt class="py-string">'remove a rail track'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L104"></a><tt class="py-lineno">104</tt>  <tt class="py-line">        <tt class="py-number">2</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_SINGLE_RAIL'</tt><tt class="py-op">,</tt><tt class="py-string">'build a single rail track'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L105"></a><tt class="py-lineno">105</tt>  <tt class="py-line">        <tt class="py-number">3</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_REMOVE_SINGLE_RAIL'</tt><tt class="py-op">,</tt><tt class="py-string">'remove a single rail track'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L106"></a><tt class="py-lineno">106</tt>  <tt class="py-line">        <tt class="py-number">4</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_LANDSCAPE_CLEAR'</tt><tt class="py-op">,</tt><tt class="py-string">'demolish a tile'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L107"></a><tt class="py-lineno">107</tt>  <tt class="py-line">        <tt class="py-number">5</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_BRIDGE'</tt><tt class="py-op">,</tt><tt class="py-string">'build a bridge'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L108"></a><tt class="py-lineno">108</tt>  <tt class="py-line">        <tt class="py-number">6</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_RAILROAD_STATION'</tt><tt class="py-op">,</tt><tt class="py-string">'build a railroad station'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L109"></a><tt class="py-lineno">109</tt>  <tt class="py-line">        <tt class="py-number">7</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_TRAIN_DEPOT'</tt><tt class="py-op">,</tt><tt class="py-string">'build a train depot'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L110"></a><tt class="py-lineno">110</tt>  <tt class="py-line">        <tt class="py-number">8</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_SIGNALS'</tt><tt class="py-op">,</tt><tt class="py-string">'build a signal'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L111"></a><tt class="py-lineno">111</tt>  <tt class="py-line">        <tt class="py-number">9</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_REMOVE_SIGNALS'</tt><tt class="py-op">,</tt><tt class="py-string">'remove a signal'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L112"></a><tt class="py-lineno">112</tt>  <tt class="py-line">        <tt class="py-number">10</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_TERRAFORM_LAND'</tt><tt class="py-op">,</tt><tt class="py-string">'terraform a tile'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L113"></a><tt class="py-lineno">113</tt>  <tt class="py-line">        <tt class="py-number">11</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_PURCHASE_LAND_AREA'</tt><tt class="py-op">,</tt><tt class="py-string">'purchase a tile'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L114"></a><tt class="py-lineno">114</tt>  <tt class="py-line">        <tt class="py-number">12</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_SELL_LAND_AREA'</tt><tt class="py-op">,</tt><tt class="py-string">'sell a bought tile before'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L115"></a><tt class="py-lineno">115</tt>  <tt class="py-line">        <tt class="py-number">13</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_TUNNEL'</tt><tt class="py-op">,</tt><tt class="py-string">'build a tunnel'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L116"></a><tt class="py-lineno">116</tt>  <tt class="py-line">        <tt class="py-number">14</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_REMOVE_FROM_RAILROAD_STATION'</tt><tt class="py-op">,</tt><tt class="py-string">'remove a tile station'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L117"></a><tt class="py-lineno">117</tt>  <tt class="py-line">        <tt class="py-number">15</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_CONVERT_RAIL'</tt><tt class="py-op">,</tt><tt class="py-string">'convert a rail type'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L118"></a><tt class="py-lineno">118</tt>  <tt class="py-line">        <tt class="py-number">16</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_TRAIN_WAYPOINT'</tt><tt class="py-op">,</tt><tt class="py-string">'build a waypoint'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L119"></a><tt class="py-lineno">119</tt>  <tt class="py-line">        <tt class="py-number">17</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_RENAME_WAYPOINT'</tt><tt class="py-op">,</tt><tt class="py-string">'rename a waypoint'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L120"></a><tt class="py-lineno">120</tt>  <tt class="py-line">        <tt class="py-number">18</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_REMOVE_TRAIN_WAYPOINT'</tt><tt class="py-op">,</tt><tt class="py-string">'remove a waypoint'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L121"></a><tt class="py-lineno">121</tt>  <tt class="py-line">        <tt class="py-number">19</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_ROAD_STOP'</tt><tt class="py-op">,</tt><tt class="py-string">'build a road stop'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L122"></a><tt class="py-lineno">122</tt>  <tt class="py-line">        <tt class="py-number">20</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_REMOVE_ROAD_STOP'</tt><tt class="py-op">,</tt><tt class="py-string">'remove a road stop'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L123"></a><tt class="py-lineno">123</tt>  <tt class="py-line">        <tt class="py-number">21</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_LONG_ROAD'</tt><tt class="py-op">,</tt><tt class="py-string">'build a complete road (not a "half" one)'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L124"></a><tt class="py-lineno">124</tt>  <tt class="py-line">        <tt class="py-number">22</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_REMOVE_LONG_ROAD'</tt><tt class="py-op">,</tt><tt class="py-string">'remove a complete road (not a "half" one)'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L125"></a><tt class="py-lineno">125</tt>  <tt class="py-line">        <tt class="py-number">23</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_ROAD'</tt><tt class="py-op">,</tt><tt class="py-string">'build a "half" road'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L126"></a><tt class="py-lineno">126</tt>  <tt class="py-line">        <tt class="py-number">24</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_REMOVE_ROAD'</tt><tt class="py-op">,</tt><tt class="py-string">'remove a "half" road'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L127"></a><tt class="py-lineno">127</tt>  <tt class="py-line">        <tt class="py-number">25</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_ROAD_DEPOT'</tt><tt class="py-op">,</tt><tt class="py-string">'build a road depot'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L128"></a><tt class="py-lineno">128</tt>  <tt class="py-line">        <tt class="py-number">26</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_AIRPORT'</tt><tt class="py-op">,</tt><tt class="py-string">'build an airport'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L129"></a><tt class="py-lineno">129</tt>  <tt class="py-line">        <tt class="py-number">27</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_DOCK'</tt><tt class="py-op">,</tt><tt class="py-string">'build a dock'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L130"></a><tt class="py-lineno">130</tt>  <tt class="py-line">        <tt class="py-number">28</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_SHIP_DEPOT'</tt><tt class="py-op">,</tt><tt class="py-string">'build a ship depot'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L131"></a><tt class="py-lineno">131</tt>  <tt class="py-line">        <tt class="py-number">29</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_BUOY'</tt><tt class="py-op">,</tt><tt class="py-string">'build a buoy'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L132"></a><tt class="py-lineno">132</tt>  <tt class="py-line">        <tt class="py-number">30</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_PLANT_TREE'</tt><tt class="py-op">,</tt><tt class="py-string">'plant a tree'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L133"></a><tt class="py-lineno">133</tt>  <tt class="py-line">        <tt class="py-number">31</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_RAIL_VEHICLE'</tt><tt class="py-op">,</tt><tt class="py-string">'build a rail vehicle'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L134"></a><tt class="py-lineno">134</tt>  <tt class="py-line">        <tt class="py-number">32</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_MOVE_RAIL_VEHICLE'</tt><tt class="py-op">,</tt><tt class="py-string">'move a rail vehicle (in the depot)'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L135"></a><tt class="py-lineno">135</tt>  <tt class="py-line">        <tt class="py-number">33</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_START_STOP_TRAIN'</tt><tt class="py-op">,</tt><tt class="py-string">'start or stop a train'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L136"></a><tt class="py-lineno">136</tt>  <tt class="py-line">        <tt class="py-number">34</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_SELL_RAIL_WAGON'</tt><tt class="py-op">,</tt><tt class="py-string">'sell a rail wagon'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L137"></a><tt class="py-lineno">137</tt>  <tt class="py-line">        <tt class="py-number">35</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_SEND_TRAIN_TO_DEPOT'</tt><tt class="py-op">,</tt><tt class="py-string">'send a train to a depot'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L138"></a><tt class="py-lineno">138</tt>  <tt class="py-line">        <tt class="py-number">36</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_FORCE_TRAIN_PROCEED'</tt><tt class="py-op">,</tt><tt class="py-string">'proceed a train to pass a red signal'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L139"></a><tt class="py-lineno">139</tt>  <tt class="py-line">        <tt class="py-number">37</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_REVERSE_TRAIN_DIRECTION'</tt><tt class="py-op">,</tt><tt class="py-string">'turn a train around'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L140"></a><tt class="py-lineno">140</tt>  <tt class="py-line">        <tt class="py-number">38</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_MODIFY_ORDER'</tt><tt class="py-op">,</tt><tt class="py-string">'modify an order (like set full-load)'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L141"></a><tt class="py-lineno">141</tt>  <tt class="py-line">        <tt class="py-number">39</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_SKIP_TO_ORDER'</tt><tt class="py-op">,</tt><tt class="py-string">'skip an order to the next of specific one'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L142"></a><tt class="py-lineno">142</tt>  <tt class="py-line">        <tt class="py-number">40</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_DELETE_ORDER'</tt><tt class="py-op">,</tt><tt class="py-string">'delete an order'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L143"></a><tt class="py-lineno">143</tt>  <tt class="py-line">        <tt class="py-number">41</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_INSERT_ORDER'</tt><tt class="py-op">,</tt><tt class="py-string">'insert a new order'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L144"></a><tt class="py-lineno">144</tt>  <tt class="py-line">        <tt class="py-number">42</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_CHANGE_SERVICE_INT'</tt><tt class="py-op">,</tt><tt class="py-string">'change the server interval of a vehicle'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L145"></a><tt class="py-lineno">145</tt>  <tt class="py-line">        <tt class="py-number">43</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_INDUSTRY'</tt><tt class="py-op">,</tt><tt class="py-string">'build a new industry'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L146"></a><tt class="py-lineno">146</tt>  <tt class="py-line">        <tt class="py-number">44</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_COMPANY_HQ'</tt><tt class="py-op">,</tt><tt class="py-string">'build the company headquarter'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L147"></a><tt class="py-lineno">147</tt>  <tt class="py-line">        <tt class="py-number">45</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_SET_PLAYER_FACE'</tt><tt class="py-op">,</tt><tt class="py-string">'set the face of the player/company'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L148"></a><tt class="py-lineno">148</tt>  <tt class="py-line">        <tt class="py-number">46</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_SET_PLAYER_COLOR'</tt><tt class="py-op">,</tt><tt class="py-string">'set the color of the player/company'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L149"></a><tt class="py-lineno">149</tt>  <tt class="py-line">        <tt class="py-number">47</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_INCREASE_LOAN'</tt><tt class="py-op">,</tt><tt class="py-string">'increase the loan from the bank'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L150"></a><tt class="py-lineno">150</tt>  <tt class="py-line">        <tt class="py-number">48</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_DECREASE_LOAN'</tt><tt class="py-op">,</tt><tt class="py-string">'decrease the loan from the bank'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L151"></a><tt class="py-lineno">151</tt>  <tt class="py-line">        <tt class="py-number">49</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_WANT_ENGINE_PREVIEW'</tt><tt class="py-op">,</tt><tt class="py-string">'confirm the preview of an engine'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L152"></a><tt class="py-lineno">152</tt>  <tt class="py-line">        <tt class="py-number">50</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_NAME_VEHICLE'</tt><tt class="py-op">,</tt><tt class="py-string">'rename a whole vehicle'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L153"></a><tt class="py-lineno">153</tt>  <tt class="py-line">        <tt class="py-number">51</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_RENAME_ENGINE'</tt><tt class="py-op">,</tt><tt class="py-string">'rename a engine (in the engine list)'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L154"></a><tt class="py-lineno">154</tt>  <tt class="py-line">        <tt class="py-number">52</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_CHANGE_COMPANY_NAME'</tt><tt class="py-op">,</tt><tt class="py-string">'change the company name'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L155"></a><tt class="py-lineno">155</tt>  <tt class="py-line">        <tt class="py-number">53</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_CHANGE_PRESIDENT_NAME'</tt><tt class="py-op">,</tt><tt class="py-string">'change the president name'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L156"></a><tt class="py-lineno">156</tt>  <tt class="py-line">        <tt class="py-number">54</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_RENAME_STATION'</tt><tt class="py-op">,</tt><tt class="py-string">'rename a station'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L157"></a><tt class="py-lineno">157</tt>  <tt class="py-line">        <tt class="py-number">55</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_SELL_AIRCRAFT'</tt><tt class="py-op">,</tt><tt class="py-string">'sell an aircraft'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L158"></a><tt class="py-lineno">158</tt>  <tt class="py-line">        <tt class="py-number">56</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_START_STOP_AIRCRAFT'</tt><tt class="py-op">,</tt><tt class="py-string">'start/stop an aircraft'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L159"></a><tt class="py-lineno">159</tt>  <tt class="py-line">        <tt class="py-number">57</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_AIRCRAFT'</tt><tt class="py-op">,</tt><tt class="py-string">'build an aircraft'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L160"></a><tt class="py-lineno">160</tt>  <tt class="py-line">        <tt class="py-number">58</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_SEND_AIRCRAFT_TO_HANGAR'</tt><tt class="py-op">,</tt><tt class="py-string">'send an aircraft to a hanger'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L161"></a><tt class="py-lineno">161</tt>  <tt class="py-line">        <tt class="py-number">59</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_REFIT_AIRCRAFT'</tt><tt class="py-op">,</tt><tt class="py-string">'refit the cargo space of an aircraft'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L162"></a><tt class="py-lineno">162</tt>  <tt class="py-line">        <tt class="py-number">60</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_PLACE_SIGN'</tt><tt class="py-op">,</tt><tt class="py-string">'place a sign'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L163"></a><tt class="py-lineno">163</tt>  <tt class="py-line">        <tt class="py-number">61</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_RENAME_SIGN'</tt><tt class="py-op">,</tt><tt class="py-string">'rename a sign'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L164"></a><tt class="py-lineno">164</tt>  <tt class="py-line">        <tt class="py-number">62</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_ROAD_VEH'</tt><tt class="py-op">,</tt><tt class="py-string">'build a road vehicle'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L165"></a><tt class="py-lineno">165</tt>  <tt class="py-line">        <tt class="py-number">63</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_START_STOP_ROADVEH'</tt><tt class="py-op">,</tt><tt class="py-string">'start/stop a road vehicle'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L166"></a><tt class="py-lineno">166</tt>  <tt class="py-line">        <tt class="py-number">64</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_SELL_ROAD_VEH'</tt><tt class="py-op">,</tt><tt class="py-string">'sell a road vehicle'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L167"></a><tt class="py-lineno">167</tt>  <tt class="py-line">        <tt class="py-number">65</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_SEND_ROADVEH_TO_DEPOT'</tt><tt class="py-op">,</tt><tt class="py-string">'send a road vehicle to the depot'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L168"></a><tt class="py-lineno">168</tt>  <tt class="py-line">        <tt class="py-number">66</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_TURN_ROADVEH'</tt><tt class="py-op">,</tt><tt class="py-string">'turn a road vehicle around'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L169"></a><tt class="py-lineno">169</tt>  <tt class="py-line">        <tt class="py-number">67</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_REFIT_ROAD_VEH'</tt><tt class="py-op">,</tt><tt class="py-string">'refit the cargo space of a road vehicle'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L170"></a><tt class="py-lineno">170</tt>  <tt class="py-line">        <tt class="py-number">68</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_PAUSE'</tt><tt class="py-op">,</tt><tt class="py-string">'pause the game'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L171"></a><tt class="py-lineno">171</tt>  <tt class="py-line">        <tt class="py-number">69</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUY_SHARE_IN_COMPANY'</tt><tt class="py-op">,</tt><tt class="py-string">'buy a share from a company'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L172"></a><tt class="py-lineno">172</tt>  <tt class="py-line">        <tt class="py-number">70</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_SELL_SHARE_IN_COMPANY'</tt><tt class="py-op">,</tt><tt class="py-string">'sell a share from a company'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L173"></a><tt class="py-lineno">173</tt>  <tt class="py-line">        <tt class="py-number">71</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUY_COMPANY'</tt><tt class="py-op">,</tt><tt class="py-string">'buy a company which is bankrupt'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L174"></a><tt class="py-lineno">174</tt>  <tt class="py-line">        <tt class="py-number">72</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_TOWN'</tt><tt class="py-op">,</tt><tt class="py-string">'build a town'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L175"></a><tt class="py-lineno">175</tt>  <tt class="py-line">        <tt class="py-number">73</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_RENAME_TOWN'</tt><tt class="py-op">,</tt><tt class="py-string">'rename a town'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L176"></a><tt class="py-lineno">176</tt>  <tt class="py-line">        <tt class="py-number">74</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_DO_TOWN_ACTION'</tt><tt class="py-op">,</tt><tt class="py-string">'do a action from the town detail window (like advertises or bribe)'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L177"></a><tt class="py-lineno">177</tt>  <tt class="py-line">        <tt class="py-number">75</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_SET_ROAD_DRIVE_SIDE'</tt><tt class="py-op">,</tt><tt class="py-string">'set the side where the road vehicles drive'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L178"></a><tt class="py-lineno">178</tt>  <tt class="py-line">        <tt class="py-number">76</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_START_STOP_SHIP'</tt><tt class="py-op">,</tt><tt class="py-string">'start/stop a ship'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L179"></a><tt class="py-lineno">179</tt>  <tt class="py-line">        <tt class="py-number">77</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_SELL_SHIP'</tt><tt class="py-op">,</tt><tt class="py-string">'sell a ship'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L180"></a><tt class="py-lineno">180</tt>  <tt class="py-line">        <tt class="py-number">78</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_SHIP'</tt><tt class="py-op">,</tt><tt class="py-string">'build a new ship'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L181"></a><tt class="py-lineno">181</tt>  <tt class="py-line">        <tt class="py-number">79</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_SEND_SHIP_TO_DEPOT'</tt><tt class="py-op">,</tt><tt class="py-string">'send a ship to a depot'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L182"></a><tt class="py-lineno">182</tt>  <tt class="py-line">        <tt class="py-number">80</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_REFIT_SHIP'</tt><tt class="py-op">,</tt><tt class="py-string">'refit the cargo space of a ship'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L183"></a><tt class="py-lineno">183</tt>  <tt class="py-line">        <tt class="py-number">81</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_ORDER_REFIT'</tt><tt class="py-op">,</tt><tt class="py-string">'change the refit informaction of an order (for "goto depot" )'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L184"></a><tt class="py-lineno">184</tt>  <tt class="py-line">        <tt class="py-number">82</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_CLONE_ORDER'</tt><tt class="py-op">,</tt><tt class="py-string">'clone (and share) an order'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L185"></a><tt class="py-lineno">185</tt>  <tt class="py-line">        <tt class="py-number">83</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_CLEAR_AREA'</tt><tt class="py-op">,</tt><tt class="py-string">'clear an area'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L186"></a><tt class="py-lineno">186</tt>  <tt class="py-line">        <tt class="py-number">84</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_MONEY_CHEAT'</tt><tt class="py-op">,</tt><tt class="py-string">'do the money cheat'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L187"></a><tt class="py-lineno">187</tt>  <tt class="py-line">        <tt class="py-number">85</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_CANAL'</tt><tt class="py-op">,</tt><tt class="py-string">'build a canal'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L188"></a><tt class="py-lineno">188</tt>  <tt class="py-line">        <tt class="py-number">86</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_PLAYER_CTRL'</tt><tt class="py-op">,</tt><tt class="py-string">'used in multiplayer to create a new player etc.'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L189"></a><tt class="py-lineno">189</tt>  <tt class="py-line">        <tt class="py-number">87</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_LEVEL_LAND'</tt><tt class="py-op">,</tt><tt class="py-string">'level land'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L190"></a><tt class="py-lineno">190</tt>  <tt class="py-line">        <tt class="py-number">88</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_REFIT_RAIL_VEHICLE'</tt><tt class="py-op">,</tt><tt class="py-string">'refit the cargo space of a train'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L191"></a><tt class="py-lineno">191</tt>  <tt class="py-line">        <tt class="py-number">89</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_RESTORE_ORDER_INDEX'</tt><tt class="py-op">,</tt><tt class="py-string">'restore vehicle order-index and service interval'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L192"></a><tt class="py-lineno">192</tt>  <tt class="py-line">        <tt class="py-number">90</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_LOCK'</tt><tt class="py-op">,</tt><tt class="py-string">'build a lock'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L193"></a><tt class="py-lineno">193</tt>  <tt class="py-line">        <tt class="py-number">91</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_BUILD_SIGNAL_TRACK'</tt><tt class="py-op">,</tt><tt class="py-string">'add signals along a track (by dragging)'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L194"></a><tt class="py-lineno">194</tt>  <tt class="py-line">        <tt class="py-number">92</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_REMOVE_SIGNAL_TRACK'</tt><tt class="py-op">,</tt><tt class="py-string">'remove signals along a track (by dragging)'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L195"></a><tt class="py-lineno">195</tt>  <tt class="py-line">        <tt class="py-number">93</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_GIVE_MONEY'</tt><tt class="py-op">,</tt><tt class="py-string">'give money to an other player'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L196"></a><tt class="py-lineno">196</tt>  <tt class="py-line">        <tt class="py-number">94</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_CHANGE_PATCH_SETTING'</tt><tt class="py-op">,</tt><tt class="py-string">'change a patch setting'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L197"></a><tt class="py-lineno">197</tt>  <tt class="py-line">        <tt class="py-number">95</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_SET_AUTOREPLACE'</tt><tt class="py-op">,</tt><tt class="py-string">'set an autoreplace entry'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L198"></a><tt class="py-lineno">198</tt>  <tt class="py-line">        <tt class="py-number">96</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_CLONE_VEHICLE'</tt><tt class="py-op">,</tt><tt class="py-string">'clone a vehicle'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L199"></a><tt class="py-lineno">199</tt>  <tt class="py-line">        <tt class="py-number">97</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_MASS_START_STOP'</tt><tt class="py-op">,</tt><tt class="py-string">'start/stop all vehicles (in a depot)'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L200"></a><tt class="py-lineno">200</tt>  <tt class="py-line">        <tt class="py-number">98</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_DEPOT_SELL_ALL_VEHICLES'</tt><tt class="py-op">,</tt><tt class="py-string">'sell all vehicles which are in a given depot'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L201"></a><tt class="py-lineno">201</tt>  <tt class="py-line">        <tt class="py-number">99</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_DEPOT_MASS_AUTOREPLACE'</tt><tt class="py-op">,</tt><tt class="py-string">'force the autoreplace to take action in a given depot'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L202"></a><tt class="py-lineno">202</tt>  <tt class="py-line">        <tt class="py-number">100</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_CREATE_GROUP'</tt><tt class="py-op">,</tt><tt class="py-string">'create a new group'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L203"></a><tt class="py-lineno">203</tt>  <tt class="py-line">        <tt class="py-number">101</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_DELETE_GROUP'</tt><tt class="py-op">,</tt><tt class="py-string">'delete a group'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L204"></a><tt class="py-lineno">204</tt>  <tt class="py-line">        <tt class="py-number">102</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_RENAME_GROUP'</tt><tt class="py-op">,</tt><tt class="py-string">'rename a group'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L205"></a><tt class="py-lineno">205</tt>  <tt class="py-line">        <tt class="py-number">103</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_ADD_VEHICLE_GROUP'</tt><tt class="py-op">,</tt><tt class="py-string">'add a vehicle to a group'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L206"></a><tt class="py-lineno">206</tt>  <tt class="py-line">        <tt class="py-number">104</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_ADD_SHARED_VEHICLE_GROUP'</tt><tt class="py-op">,</tt><tt class="py-string">'add all other shared vehicles to a group which are missing'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L207"></a><tt class="py-lineno">207</tt>  <tt class="py-line">        <tt class="py-number">105</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_REMOVE_ALL_VEHICLES_GROUP'</tt><tt class="py-op">,</tt><tt class="py-string">'remove all vehicles from a group'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L208"></a><tt class="py-lineno">208</tt>  <tt class="py-line">        <tt class="py-number">106</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_SET_GROUP_REPLACE_PROTECTION'</tt><tt class="py-op">,</tt><tt class="py-string">'set the autoreplace-protection for a group'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L209"></a><tt class="py-lineno">209</tt>  <tt class="py-line">        <tt class="py-number">107</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_MOVE_ORDER'</tt><tt class="py-op">,</tt><tt class="py-string">'move an order'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L210"></a><tt class="py-lineno">210</tt>  <tt class="py-line">        <tt class="py-number">108</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_CHANGE_TIMETABLE'</tt><tt class="py-op">,</tt><tt class="py-string">'change the timetable for a vehicle'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L211"></a><tt class="py-lineno">211</tt>  <tt class="py-line">        <tt class="py-number">109</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_SET_VEHICLE_ON_TIME'</tt><tt class="py-op">,</tt><tt class="py-string">'set the vehicle on time feature (timetable)'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L212"></a><tt class="py-lineno">212</tt>  <tt class="py-line">        <tt class="py-number">110</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'CMD_AUTOFILL_TIMETABLE'</tt><tt class="py-op">,</tt><tt class="py-string">'autofill the timetable'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L213"></a><tt class="py-lineno">213</tt>  <tt class="py-line"><tt class="py-op">}</tt> </tt>
<a name="L214"></a><tt class="py-lineno">214</tt>  <tt class="py-line"><tt id="link-57" class="py-name" targets="Variable openttd.constants.NETWORK_ACTION_JOIN=openttd.constants-module.html#NETWORK_ACTION_JOIN"><a title="openttd.constants.NETWORK_ACTION_JOIN" class="py-name" href="#" onclick="return doclink('link-57', 'NETWORK_ACTION_JOIN', 'link-57');">NETWORK_ACTION_JOIN</a></tt><tt class="py-op">=</tt><tt class="py-number">0</tt> </tt>
<a name="L215"></a><tt class="py-lineno">215</tt>  <tt class="py-line"><tt id="link-58" class="py-name" targets="Variable openttd.constants.NETWORK_ACTION_LEAVE=openttd.constants-module.html#NETWORK_ACTION_LEAVE"><a title="openttd.constants.NETWORK_ACTION_LEAVE" class="py-name" href="#" onclick="return doclink('link-58', 'NETWORK_ACTION_LEAVE', 'link-58');">NETWORK_ACTION_LEAVE</a></tt><tt class="py-op">=</tt><tt class="py-number">1</tt> </tt>
<a name="L216"></a><tt class="py-lineno">216</tt>  <tt class="py-line"><tt id="link-59" class="py-name" targets="Variable openttd.constants.NETWORK_ACTION_SERVER_MESSAGE=openttd.constants-module.html#NETWORK_ACTION_SERVER_MESSAGE"><a title="openttd.constants.NETWORK_ACTION_SERVER_MESSAGE" class="py-name" href="#" onclick="return doclink('link-59', 'NETWORK_ACTION_SERVER_MESSAGE', 'link-59');">NETWORK_ACTION_SERVER_MESSAGE</a></tt><tt class="py-op">=</tt><tt class="py-number">2</tt> </tt>
<a name="L217"></a><tt class="py-lineno">217</tt>  <tt class="py-line"><tt id="link-60" class="py-name" targets="Variable openttd.constants.NETWORK_ACTION_CHAT=openttd.constants-module.html#NETWORK_ACTION_CHAT"><a title="openttd.constants.NETWORK_ACTION_CHAT" class="py-name" href="#" onclick="return doclink('link-60', 'NETWORK_ACTION_CHAT', 'link-60');">NETWORK_ACTION_CHAT</a></tt><tt class="py-op">=</tt><tt class="py-number">3</tt> </tt>
<a name="L218"></a><tt class="py-lineno">218</tt>  <tt class="py-line"><tt id="link-61" class="py-name" targets="Variable openttd.constants.NETWORK_ACTION_CHAT_COMPANY=openttd.constants-module.html#NETWORK_ACTION_CHAT_COMPANY"><a title="openttd.constants.NETWORK_ACTION_CHAT_COMPANY" class="py-name" href="#" onclick="return doclink('link-61', 'NETWORK_ACTION_CHAT_COMPANY', 'link-61');">NETWORK_ACTION_CHAT_COMPANY</a></tt><tt class="py-op">=</tt><tt class="py-number">4</tt> </tt>
<a name="L219"></a><tt class="py-lineno">219</tt>  <tt class="py-line"><tt id="link-62" class="py-name" targets="Variable openttd.constants.NETWORK_ACTION_CHAT_CLIENT=openttd.constants-module.html#NETWORK_ACTION_CHAT_CLIENT"><a title="openttd.constants.NETWORK_ACTION_CHAT_CLIENT" class="py-name" href="#" onclick="return doclink('link-62', 'NETWORK_ACTION_CHAT_CLIENT', 'link-62');">NETWORK_ACTION_CHAT_CLIENT</a></tt><tt class="py-op">=</tt><tt class="py-number">5</tt> </tt>
<a name="L220"></a><tt class="py-lineno">220</tt>  <tt class="py-line"><tt id="link-63" class="py-name" targets="Variable openttd.constants.NETWORK_ACTION_GIVE_MONEY=openttd.constants-module.html#NETWORK_ACTION_GIVE_MONEY"><a title="openttd.constants.NETWORK_ACTION_GIVE_MONEY" class="py-name" href="#" onclick="return doclink('link-63', 'NETWORK_ACTION_GIVE_MONEY', 'link-63');">NETWORK_ACTION_GIVE_MONEY</a></tt><tt class="py-op">=</tt><tt class="py-number">6</tt> </tt>
<a name="L221"></a><tt class="py-lineno">221</tt>  <tt class="py-line"><tt id="link-64" class="py-name" targets="Variable openttd.constants.NETWORK_ACTION_NAME_CHANGE=openttd.constants-module.html#NETWORK_ACTION_NAME_CHANGE"><a title="openttd.constants.NETWORK_ACTION_NAME_CHANGE" class="py-name" href="#" onclick="return doclink('link-64', 'NETWORK_ACTION_NAME_CHANGE', 'link-64');">NETWORK_ACTION_NAME_CHANGE</a></tt><tt class="py-op">=</tt><tt class="py-number">7</tt> </tt>
<a name="L222"></a><tt class="py-lineno">222</tt>  <tt class="py-line"> </tt>
<a name="L223"></a><tt class="py-lineno">223</tt>  <tt class="py-line"><tt id="link-65" class="py-name" targets="Variable openttd.constants.DESTTYPE_BROADCAST=openttd.constants-module.html#DESTTYPE_BROADCAST"><a title="openttd.constants.DESTTYPE_BROADCAST" class="py-name" href="#" onclick="return doclink('link-65', 'DESTTYPE_BROADCAST', 'link-65');">DESTTYPE_BROADCAST</a></tt><tt class="py-op">=</tt><tt class="py-number">0</tt> <tt class="py-comment"># Send message/notice to all players (All)</tt> </tt>
<a name="L224"></a><tt class="py-lineno">224</tt>  <tt class="py-line"><tt id="link-66" class="py-name" targets="Variable openttd.constants.DESTTYPE_TEAM=openttd.constants-module.html#DESTTYPE_TEAM"><a title="openttd.constants.DESTTYPE_TEAM" class="py-name" href="#" onclick="return doclink('link-66', 'DESTTYPE_TEAM', 'link-66');">DESTTYPE_TEAM</a></tt><tt class="py-op">=</tt><tt class="py-number">1</tt>      <tt class="py-comment"># Send message/notice to everyone playing the same company (Team)</tt> </tt>
<a name="L225"></a><tt class="py-lineno">225</tt>  <tt class="py-line"><tt id="link-67" class="py-name" targets="Variable openttd.constants.DESTTYPE_CLIENT=openttd.constants-module.html#DESTTYPE_CLIENT"><a title="openttd.constants.DESTTYPE_CLIENT" class="py-name" href="#" onclick="return doclink('link-67', 'DESTTYPE_CLIENT', 'link-67');">DESTTYPE_CLIENT</a></tt><tt class="py-op">=</tt><tt class="py-number">2</tt>    <tt class="py-comment"># Send message/notice to only a certain player (Private)</tt> </tt>
<a name="L226"></a><tt class="py-lineno">226</tt>  <tt class="py-line"> </tt>
<a name="L227"></a><tt class="py-lineno">227</tt>  <tt class="py-line"><tt id="link-68" class="py-name" targets="Variable openttd.constants.NETWORK_ERROR_GENERAL=openttd.constants-module.html#NETWORK_ERROR_GENERAL"><a title="openttd.constants.NETWORK_ERROR_GENERAL" class="py-name" href="#" onclick="return doclink('link-68', 'NETWORK_ERROR_GENERAL', 'link-68');">NETWORK_ERROR_GENERAL</a></tt><tt class="py-op">=</tt><tt class="py-number">0</tt> <tt class="py-comment"># Generally unused</tt> </tt>
<a name="L228"></a><tt class="py-lineno">228</tt>  <tt class="py-line"><tt class="py-comment"># Signals from clients</tt> </tt>
<a name="L229"></a><tt class="py-lineno">229</tt>  <tt class="py-line"><tt id="link-69" class="py-name" targets="Variable openttd.constants.NETWORK_ERROR_DESYNC=openttd.constants-module.html#NETWORK_ERROR_DESYNC"><a title="openttd.constants.NETWORK_ERROR_DESYNC" class="py-name" href="#" onclick="return doclink('link-69', 'NETWORK_ERROR_DESYNC', 'link-69');">NETWORK_ERROR_DESYNC</a></tt><tt class="py-op">=</tt><tt class="py-number">1</tt> </tt>
<a name="L230"></a><tt class="py-lineno">230</tt>  <tt class="py-line"><tt id="link-70" class="py-name" targets="Variable openttd.constants.NETWORK_ERROR_SAVEGAME_FAILED=openttd.constants-module.html#NETWORK_ERROR_SAVEGAME_FAILED"><a title="openttd.constants.NETWORK_ERROR_SAVEGAME_FAILED" class="py-name" href="#" onclick="return doclink('link-70', 'NETWORK_ERROR_SAVEGAME_FAILED', 'link-70');">NETWORK_ERROR_SAVEGAME_FAILED</a></tt><tt class="py-op">=</tt><tt class="py-number">2</tt> </tt>
<a name="L231"></a><tt class="py-lineno">231</tt>  <tt class="py-line"><tt id="link-71" class="py-name" targets="Variable openttd.constants.NETWORK_ERROR_CONNECTION_LOST=openttd.constants-module.html#NETWORK_ERROR_CONNECTION_LOST"><a title="openttd.constants.NETWORK_ERROR_CONNECTION_LOST" class="py-name" href="#" onclick="return doclink('link-71', 'NETWORK_ERROR_CONNECTION_LOST', 'link-71');">NETWORK_ERROR_CONNECTION_LOST</a></tt><tt class="py-op">=</tt><tt class="py-number">3</tt> </tt>
<a name="L232"></a><tt class="py-lineno">232</tt>  <tt class="py-line"><tt id="link-72" class="py-name" targets="Variable openttd.constants.NETWORK_ERROR_ILLEGAL_PACKET=openttd.constants-module.html#NETWORK_ERROR_ILLEGAL_PACKET"><a title="openttd.constants.NETWORK_ERROR_ILLEGAL_PACKET" class="py-name" href="#" onclick="return doclink('link-72', 'NETWORK_ERROR_ILLEGAL_PACKET', 'link-72');">NETWORK_ERROR_ILLEGAL_PACKET</a></tt><tt class="py-op">=</tt><tt class="py-number">4</tt> </tt>
<a name="L233"></a><tt class="py-lineno">233</tt>  <tt class="py-line"><tt id="link-73" class="py-name" targets="Variable openttd.constants.NETWORK_ERROR_NEWGRF_MISMATCH=openttd.constants-module.html#NETWORK_ERROR_NEWGRF_MISMATCH"><a title="openttd.constants.NETWORK_ERROR_NEWGRF_MISMATCH" class="py-name" href="#" onclick="return doclink('link-73', 'NETWORK_ERROR_NEWGRF_MISMATCH', 'link-73');">NETWORK_ERROR_NEWGRF_MISMATCH</a></tt><tt class="py-op">=</tt><tt class="py-number">5</tt> </tt>
<a name="L234"></a><tt class="py-lineno">234</tt>  <tt class="py-line"><tt class="py-comment"># Signals from servers</tt> </tt>
<a name="L235"></a><tt class="py-lineno">235</tt>  <tt class="py-line"><tt id="link-74" class="py-name" targets="Variable openttd.constants.NETWORK_ERROR_NOT_AUTHORIZED=openttd.constants-module.html#NETWORK_ERROR_NOT_AUTHORIZED"><a title="openttd.constants.NETWORK_ERROR_NOT_AUTHORIZED" class="py-name" href="#" onclick="return doclink('link-74', 'NETWORK_ERROR_NOT_AUTHORIZED', 'link-74');">NETWORK_ERROR_NOT_AUTHORIZED</a></tt><tt class="py-op">=</tt><tt class="py-number">6</tt> </tt>
<a name="L236"></a><tt class="py-lineno">236</tt>  <tt class="py-line"><tt id="link-75" class="py-name" targets="Variable openttd.constants.NETWORK_ERROR_NOT_EXPECTED=openttd.constants-module.html#NETWORK_ERROR_NOT_EXPECTED"><a title="openttd.constants.NETWORK_ERROR_NOT_EXPECTED" class="py-name" href="#" onclick="return doclink('link-75', 'NETWORK_ERROR_NOT_EXPECTED', 'link-75');">NETWORK_ERROR_NOT_EXPECTED</a></tt><tt class="py-op">=</tt><tt class="py-number">7</tt> </tt>
<a name="L237"></a><tt class="py-lineno">237</tt>  <tt class="py-line"><tt id="link-76" class="py-name" targets="Variable openttd.constants.NETWORK_ERROR_WRONG_REVISION=openttd.constants-module.html#NETWORK_ERROR_WRONG_REVISION"><a title="openttd.constants.NETWORK_ERROR_WRONG_REVISION" class="py-name" href="#" onclick="return doclink('link-76', 'NETWORK_ERROR_WRONG_REVISION', 'link-76');">NETWORK_ERROR_WRONG_REVISION</a></tt><tt class="py-op">=</tt><tt class="py-number">8</tt> </tt>
<a name="L238"></a><tt class="py-lineno">238</tt>  <tt class="py-line"><tt id="link-77" class="py-name" targets="Variable openttd.constants.NETWORK_ERROR_NAME_IN_USE=openttd.constants-module.html#NETWORK_ERROR_NAME_IN_USE"><a title="openttd.constants.NETWORK_ERROR_NAME_IN_USE" class="py-name" href="#" onclick="return doclink('link-77', 'NETWORK_ERROR_NAME_IN_USE', 'link-77');">NETWORK_ERROR_NAME_IN_USE</a></tt><tt class="py-op">=</tt><tt class="py-number">9</tt> </tt>
<a name="L239"></a><tt class="py-lineno">239</tt>  <tt class="py-line"><tt id="link-78" class="py-name" targets="Variable openttd.constants.NETWORK_ERROR_WRONG_PASSWORD=openttd.constants-module.html#NETWORK_ERROR_WRONG_PASSWORD"><a title="openttd.constants.NETWORK_ERROR_WRONG_PASSWORD" class="py-name" href="#" onclick="return doclink('link-78', 'NETWORK_ERROR_WRONG_PASSWORD', 'link-78');">NETWORK_ERROR_WRONG_PASSWORD</a></tt><tt class="py-op">=</tt><tt class="py-number">10</tt> </tt>
<a name="L240"></a><tt class="py-lineno">240</tt>  <tt class="py-line"><tt id="link-79" class="py-name" targets="Variable openttd.constants.NETWORK_ERROR_PLAYER_MISMATCH=openttd.constants-module.html#NETWORK_ERROR_PLAYER_MISMATCH"><a title="openttd.constants.NETWORK_ERROR_PLAYER_MISMATCH" class="py-name" href="#" onclick="return doclink('link-79', 'NETWORK_ERROR_PLAYER_MISMATCH', 'link-79');">NETWORK_ERROR_PLAYER_MISMATCH</a></tt><tt class="py-op">=</tt><tt class="py-number">11</tt> <tt class="py-comment"># Happens in CLIENT_COMMAND</tt> </tt>
<a name="L241"></a><tt class="py-lineno">241</tt>  <tt class="py-line"><tt id="link-80" class="py-name" targets="Variable openttd.constants.NETWORK_ERROR_KICKED=openttd.constants-module.html#NETWORK_ERROR_KICKED"><a title="openttd.constants.NETWORK_ERROR_KICKED" class="py-name" href="#" onclick="return doclink('link-80', 'NETWORK_ERROR_KICKED', 'link-80');">NETWORK_ERROR_KICKED</a></tt><tt class="py-op">=</tt><tt class="py-number">12</tt> </tt>
<a name="L242"></a><tt class="py-lineno">242</tt>  <tt class="py-line"><tt id="link-81" class="py-name" targets="Variable openttd.constants.NETWORK_ERROR_CHEATER=openttd.constants-module.html#NETWORK_ERROR_CHEATER"><a title="openttd.constants.NETWORK_ERROR_CHEATER" class="py-name" href="#" onclick="return doclink('link-81', 'NETWORK_ERROR_CHEATER', 'link-81');">NETWORK_ERROR_CHEATER</a></tt><tt class="py-op">=</tt><tt class="py-number">13</tt> </tt>
<a name="L243"></a><tt class="py-lineno">243</tt>  <tt class="py-line"><tt id="link-82" class="py-name" targets="Variable openttd.constants.NETWORK_ERROR_FULL=openttd.constants-module.html#NETWORK_ERROR_FULL"><a title="openttd.constants.NETWORK_ERROR_FULL" class="py-name" href="#" onclick="return doclink('link-82', 'NETWORK_ERROR_FULL', 'link-82');">NETWORK_ERROR_FULL</a></tt><tt class="py-op">=</tt><tt class="py-number">14</tt> </tt>
<a name="L244"></a><tt class="py-lineno">244</tt>  <tt class="py-line"> </tt>
<a name="L245"></a><tt class="py-lineno">245</tt>  <tt class="py-line"><tt id="link-83" class="py-name" targets="Variable openttd.constants.NETWORK_GAME_PASSWORD=openttd.constants-module.html#NETWORK_GAME_PASSWORD"><a title="openttd.constants.NETWORK_GAME_PASSWORD" class="py-name" href="#" onclick="return doclink('link-83', 'NETWORK_GAME_PASSWORD', 'link-83');">NETWORK_GAME_PASSWORD</a></tt><tt class="py-op">=</tt><tt class="py-number">0</tt> </tt>
<a name="L246"></a><tt class="py-lineno">246</tt>  <tt class="py-line"><tt id="link-84" class="py-name" targets="Variable openttd.constants.NETWORK_COMPANY_PASSWORD=openttd.constants-module.html#NETWORK_COMPANY_PASSWORD"><a title="openttd.constants.NETWORK_COMPANY_PASSWORD" class="py-name" href="#" onclick="return doclink('link-84', 'NETWORK_COMPANY_PASSWORD', 'link-84');">NETWORK_COMPANY_PASSWORD</a></tt><tt class="py-op">=</tt><tt class="py-number">1</tt> </tt>
<a name="L247"></a><tt class="py-lineno">247</tt>  <tt class="py-line"> </tt>
<a name="L248"></a><tt class="py-lineno">248</tt>  <tt class="py-line"><tt id="link-85" class="py-name" targets="Variable openttd.constants.error_names=openttd.constants-module.html#error_names"><a title="openttd.constants.error_names" class="py-name" href="#" onclick="return doclink('link-85', 'error_names', 'link-85');">error_names</a></tt><tt class="py-op">=</tt><tt class="py-op">{</tt> </tt>
<a name="L249"></a><tt class="py-lineno">249</tt>  <tt class="py-line">        <tt class="py-number">0</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'NETWORK_ERROR_GENERAL'</tt><tt class="py-op">,</tt> <tt class="py-string">'unknown reason'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L250"></a><tt class="py-lineno">250</tt>  <tt class="py-line">        <tt class="py-number">1</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'NETWORK_ERROR_DESYNC'</tt><tt class="py-op">,</tt> <tt class="py-string">'desynced'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L251"></a><tt class="py-lineno">251</tt>  <tt class="py-line">        <tt class="py-number">2</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'NETWORK_SAVEGAME_FAILED'</tt><tt class="py-op">,</tt> <tt class="py-string">'couldn\t load savegame'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L252"></a><tt class="py-lineno">252</tt>  <tt class="py-line">        <tt class="py-number">3</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'NETWORK_CONNECTION_LOST'</tt><tt class="py-op">,</tt> <tt class="py-string">'connection lost'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L253"></a><tt class="py-lineno">253</tt>  <tt class="py-line">        <tt class="py-number">4</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'NETWORK_ILLEGAL_PACKET'</tt><tt class="py-op">,</tt> <tt class="py-string">'illegal packet'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L254"></a><tt class="py-lineno">254</tt>  <tt class="py-line">        <tt class="py-number">5</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'NETWORK_ERROR_NEWGRF_MISMATCH'</tt><tt class="py-op">,</tt> <tt class="py-string">'newgrf mismatch'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L255"></a><tt class="py-lineno">255</tt>  <tt class="py-line">        <tt class="py-number">6</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'NETWORK_ERROR_NOT_AUTHORIZED'</tt><tt class="py-op">,</tt> <tt class="py-string">'not autohorized'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L256"></a><tt class="py-lineno">256</tt>  <tt class="py-line">        <tt class="py-number">7</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'NETWORK_ERROR_NOT_EXPECTED'</tt><tt class="py-op">,</tt> <tt class="py-string">'unexpected packet'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L257"></a><tt class="py-lineno">257</tt>  <tt class="py-line">        <tt class="py-number">8</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'NETWORK_ERROR_WRONG_REVISION'</tt><tt class="py-op">,</tt> <tt class="py-string">'wrong revision'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L258"></a><tt class="py-lineno">258</tt>  <tt class="py-line">        <tt class="py-number">9</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'NETWORK_ERROR_NAME_IN_USE'</tt><tt class="py-op">,</tt> <tt class="py-string">'Name in use'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L259"></a><tt class="py-lineno">259</tt>  <tt class="py-line">        <tt class="py-number">10</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'NETWORK_ERROR_WRONG_PASSWORD'</tt><tt class="py-op">,</tt> <tt class="py-string">'wrong password'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L260"></a><tt class="py-lineno">260</tt>  <tt class="py-line">        <tt class="py-number">11</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'NETWORK_ERROR_PLAYER_MISMATCH'</tt><tt class="py-op">,</tt> <tt class="py-string">'incorrect player id in command'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L261"></a><tt class="py-lineno">261</tt>  <tt class="py-line">        <tt class="py-number">12</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'NETWORK_ERROR_KICKED'</tt><tt class="py-op">,</tt> <tt class="py-string">'kicked'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L262"></a><tt class="py-lineno">262</tt>  <tt class="py-line">        <tt class="py-number">13</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'NETWORK_ERROR_CHEATER'</tt><tt class="py-op">,</tt> <tt class="py-string">'cheater'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L263"></a><tt class="py-lineno">263</tt>  <tt class="py-line">        <tt class="py-number">14</tt><tt class="py-op">:</tt><tt class="py-op">[</tt><tt class="py-string">'NETWORK_ERROR_FULL'</tt><tt class="py-op">,</tt> <tt class="py-string">'server full'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L264"></a><tt class="py-lineno">264</tt>  <tt class="py-line"><tt class="py-op">}</tt> </tt>
<a name="L265"></a><tt class="py-lineno">265</tt>  <tt class="py-line"> </tt>
<a name="L266"></a><tt class="py-lineno">266</tt>  <tt class="py-line"><tt id="link-86" class="py-name" targets="Variable openttd.constants.OWNER_BEGIN=openttd.constants-module.html#OWNER_BEGIN"><a title="openttd.constants.OWNER_BEGIN" class="py-name" href="#" onclick="return doclink('link-86', 'OWNER_BEGIN', 'link-86');">OWNER_BEGIN</a></tt>     <tt class="py-op">=</tt> <tt class="py-number">0x00</tt> <tt class="py-comment"># First Owner</tt> </tt>
<a name="L267"></a><tt class="py-lineno">267</tt>  <tt class="py-line"><tt id="link-87" class="py-name" targets="Variable openttd.constants.PLAYER_FIRST=openttd.constants-module.html#PLAYER_FIRST"><a title="openttd.constants.PLAYER_FIRST" class="py-name" href="#" onclick="return doclink('link-87', 'PLAYER_FIRST', 'link-87');">PLAYER_FIRST</a></tt>    <tt class="py-op">=</tt> <tt class="py-number">0x00</tt> <tt class="py-comment"># First Player, same as owner</tt> </tt>
<a name="L268"></a><tt class="py-lineno">268</tt>  <tt class="py-line"><tt id="link-88" class="py-name" targets="Variable openttd.constants.MAX_PLAYERS=openttd.constants-module.html#MAX_PLAYERS"><a title="openttd.constants.MAX_PLAYERS" class="py-name" href="#" onclick="return doclink('link-88', 'MAX_PLAYERS', 'link-88');">MAX_PLAYERS</a></tt>     <tt class="py-op">=</tt> <tt class="py-number">0x08</tt> <tt class="py-comment"># Maximum numbe rof players</tt> </tt>
<a name="L269"></a><tt class="py-lineno">269</tt>  <tt class="py-line"><tt id="link-89" class="py-name" targets="Variable openttd.constants.OWNER_TOWN=openttd.constants-module.html#OWNER_TOWN"><a title="openttd.constants.OWNER_TOWN" class="py-name" href="#" onclick="return doclink('link-89', 'OWNER_TOWN', 'link-89');">OWNER_TOWN</a></tt>      <tt class="py-op">=</tt> <tt class="py-number">0x0F</tt> <tt class="py-comment"># A town owns the tile, or a town is expanding</tt> </tt>
<a name="L270"></a><tt class="py-lineno">270</tt>  <tt class="py-line"><tt id="link-90" class="py-name" targets="Variable openttd.constants.OWNER_NONE=openttd.constants-module.html#OWNER_NONE"><a title="openttd.constants.OWNER_NONE" class="py-name" href="#" onclick="return doclink('link-90', 'OWNER_NONE', 'link-90');">OWNER_NONE</a></tt>      <tt class="py-op">=</tt> <tt class="py-number">0x10</tt> <tt class="py-comment"># The tile has no ownership</tt> </tt>
<a name="L271"></a><tt class="py-lineno">271</tt>  <tt class="py-line"><tt id="link-91" class="py-name" targets="Variable openttd.constants.OWNER_WATER=openttd.constants-module.html#OWNER_WATER"><a title="openttd.constants.OWNER_WATER" class="py-name" href="#" onclick="return doclink('link-91', 'OWNER_WATER', 'link-91');">OWNER_WATER</a></tt>     <tt class="py-op">=</tt> <tt class="py-number">0x11</tt> <tt class="py-comment"># The tile/execution is done by "water"</tt> </tt>
<a name="L272"></a><tt class="py-lineno">272</tt>  <tt class="py-line"><tt id="link-92" class="py-name" targets="Variable openttd.constants.OWNER_END=openttd.constants-module.html#OWNER_END"><a title="openttd.constants.OWNER_END" class="py-name" href="#" onclick="return doclink('link-92', 'OWNER_END', 'link-92');">OWNER_END</a></tt>       <tt class="py-op">=</tt> <tt class="py-number">0x12</tt> <tt class="py-comment"># Last + 1 owner</tt> </tt>
<a name="L273"></a><tt class="py-lineno">273</tt>  <tt class="py-line"><tt id="link-93" class="py-name" targets="Variable openttd.constants.INVALID_OWNER=openttd.constants-module.html#INVALID_OWNER"><a title="openttd.constants.INVALID_OWNER" class="py-name" href="#" onclick="return doclink('link-93', 'INVALID_OWNER', 'link-93');">INVALID_OWNER</a></tt>   <tt class="py-op">=</tt> <tt class="py-number">0xFF</tt> <tt class="py-comment"># An invalid owner</tt> </tt>
<a name="L274"></a><tt class="py-lineno">274</tt>  <tt class="py-line"><tt id="link-94" class="py-name" targets="Variable openttd.constants.INVALID_PLAYER=openttd.constants-module.html#INVALID_PLAYER"><a title="openttd.constants.INVALID_PLAYER" class="py-name" href="#" onclick="return doclink('link-94', 'INVALID_PLAYER', 'link-94');">INVALID_PLAYER</a></tt>  <tt class="py-op">=</tt> <tt class="py-number">0xFF</tt> <tt class="py-comment"># And a valid owner</tt> </tt>
<a name="L275"></a><tt class="py-lineno">275</tt>  <tt class="py-line"><tt id="link-95" class="py-name" targets="Variable openttd.constants.PLAYER_INACTIVE_CLIENT=openttd.constants-module.html#PLAYER_INACTIVE_CLIENT"><a title="openttd.constants.PLAYER_INACTIVE_CLIENT" class="py-name" href="#" onclick="return doclink('link-95', 'PLAYER_INACTIVE_CLIENT', 'link-95');">PLAYER_INACTIVE_CLIENT</a></tt> <tt class="py-op">=</tt> <tt class="py-number">253</tt> <tt class="py-comment"># The client is joining</tt> </tt>
<a name="L276"></a><tt class="py-lineno">276</tt>  <tt class="py-line"><tt id="link-96" class="py-name" targets="Variable openttd.constants.PLAYER_NEW_COMPANY=openttd.constants-module.html#PLAYER_NEW_COMPANY"><a title="openttd.constants.PLAYER_NEW_COMPANY" class="py-name" href="#" onclick="return doclink('link-96', 'PLAYER_NEW_COMPANY', 'link-96');">PLAYER_NEW_COMPANY</a></tt>     <tt class="py-op">=</tt> <tt class="py-number">254</tt> <tt class="py-comment"># The client wants a new company</tt> </tt>
<a name="L277"></a><tt class="py-lineno">277</tt>  <tt class="py-line"><tt id="link-97" class="py-name" targets="Variable openttd.constants.PLAYER_SPECTATOR=openttd.constants-module.html#PLAYER_SPECTATOR"><a title="openttd.constants.PLAYER_SPECTATOR" class="py-name" href="#" onclick="return doclink('link-97', 'PLAYER_SPECTATOR', 'link-97');">PLAYER_SPECTATOR</a></tt>       <tt class="py-op">=</tt> <tt class="py-number">255</tt> <tt class="py-comment"># The client is spectating</tt> </tt>
<a name="L278"></a><tt class="py-lineno">278</tt>  <tt class="py-line">         </tt>
<a name="L279"></a><tt class="py-lineno">279</tt>  <tt class="py-line"><tt id="link-98" class="py-name" targets="Variable openttd.constants.NETLANG_ANY=openttd.constants-module.html#NETLANG_ANY"><a title="openttd.constants.NETLANG_ANY" class="py-name" href="#" onclick="return doclink('link-98', 'NETLANG_ANY', 'link-98');">NETLANG_ANY</a></tt><tt class="py-op">=</tt><tt class="py-number">0</tt> </tt>
<a name="L280"></a><tt class="py-lineno">280</tt>  <tt class="py-line"> </tt>
<a name="L281"></a><tt class="py-lineno">281</tt>  <tt class="py-line"><tt id="link-99" class="py-name" targets="Variable openttd.constants.NETWORK_MASTER_SERVER_VERSION=openttd.constants-module.html#NETWORK_MASTER_SERVER_VERSION"><a title="openttd.constants.NETWORK_MASTER_SERVER_VERSION" class="py-name" href="#" onclick="return doclink('link-99', 'NETWORK_MASTER_SERVER_VERSION', 'link-99');">NETWORK_MASTER_SERVER_VERSION</a></tt><tt class="py-op">=</tt><tt class="py-number">1</tt> </tt>
<a name="L282"></a><tt class="py-lineno">282</tt>  <tt class="py-line"><tt id="link-100" class="py-name" targets="Variable openttd.constants.NETWORK_MASTER_SERVER_HOST=openttd.constants-module.html#NETWORK_MASTER_SERVER_HOST"><a title="openttd.constants.NETWORK_MASTER_SERVER_HOST" class="py-name" href="#" onclick="return doclink('link-100', 'NETWORK_MASTER_SERVER_HOST', 'link-100');">NETWORK_MASTER_SERVER_HOST</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"master.openttd.org"</tt> </tt>
<a name="L283"></a><tt class="py-lineno">283</tt>  <tt class="py-line"><tt id="link-101" class="py-name" targets="Variable openttd.constants.NETWORK_MASTER_SERVER_PORT=openttd.constants-module.html#NETWORK_MASTER_SERVER_PORT"><a title="openttd.constants.NETWORK_MASTER_SERVER_PORT" class="py-name" href="#" onclick="return doclink('link-101', 'NETWORK_MASTER_SERVER_PORT', 'link-101');">NETWORK_MASTER_SERVER_PORT</a></tt> <tt class="py-op">=</tt> <tt class="py-number">3978</tt> </tt>
<a name="L284"></a><tt class="py-lineno">284</tt>  <tt class="py-line"><tt id="link-102" class="py-name"><a title="openttd.constants.PACKET_UDP_MASTER_RESPONSE_LIST" class="py-name" href="#" onclick="return doclink('link-102', 'PACKET_UDP_MASTER_RESPONSE_LIST', 'link-7');">PACKET_UDP_MASTER_RESPONSE_LIST</a></tt> <tt class="py-op">=</tt> <tt class="py-number">7</tt> </tt>
<a name="L285"></a><tt class="py-lineno">285</tt>  <tt class="py-line"> </tt>
<a name="L286"></a><tt class="py-lineno">286</tt>  <tt class="py-line"><tt class="py-comment"># The minimum starting year/base year of the original TTD </tt> </tt>
<a name="L287"></a><tt class="py-lineno">287</tt>  <tt class="py-line"><tt id="link-103" class="py-name" targets="Variable openttd.constants.ORIGINAL_BASE_YEAR=openttd.constants-module.html#ORIGINAL_BASE_YEAR"><a title="openttd.constants.ORIGINAL_BASE_YEAR" class="py-name" href="#" onclick="return doclink('link-103', 'ORIGINAL_BASE_YEAR', 'link-103');">ORIGINAL_BASE_YEAR</a></tt> <tt class="py-op">=</tt> <tt class="py-number">1920</tt> </tt>
<a name="L288"></a><tt class="py-lineno">288</tt>  <tt class="py-line"><tt class="py-comment"># The maximum year of the original TTD</tt> </tt>
<a name="L289"></a><tt class="py-lineno">289</tt>  <tt class="py-line"><tt id="link-104" class="py-name" targets="Variable openttd.constants.ORIGINAL_MAX_YEAR=openttd.constants-module.html#ORIGINAL_MAX_YEAR"><a title="openttd.constants.ORIGINAL_MAX_YEAR" class="py-name" href="#" onclick="return doclink('link-104', 'ORIGINAL_MAX_YEAR', 'link-104');">ORIGINAL_MAX_YEAR</a></tt> <tt class="py-op">=</tt> <tt class="py-number">2090</tt> </tt>
<a name="L290"></a><tt class="py-lineno">290</tt>  <tt class="py-line"> </tt>
<a name="L291"></a><tt class="py-lineno">291</tt>  <tt class="py-line"><tt id="link-105" class="py-name" targets="Variable openttd.constants.DAYS_TILL_ORIGINAL_BASE_YEAR=openttd.constants-module.html#DAYS_TILL_ORIGINAL_BASE_YEAR"><a title="openttd.constants.DAYS_TILL_ORIGINAL_BASE_YEAR" class="py-name" href="#" onclick="return doclink('link-105', 'DAYS_TILL_ORIGINAL_BASE_YEAR', 'link-105');">DAYS_TILL_ORIGINAL_BASE_YEAR</a></tt> <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">365</tt> <tt class="py-op">*</tt> <tt id="link-106" class="py-name"><a title="openttd.constants.ORIGINAL_BASE_YEAR" class="py-name" href="#" onclick="return doclink('link-106', 'ORIGINAL_BASE_YEAR', 'link-103');">ORIGINAL_BASE_YEAR</a></tt> <tt class="py-op">+</tt> <tt id="link-107" class="py-name"><a title="openttd.constants.ORIGINAL_BASE_YEAR" class="py-name" href="#" onclick="return doclink('link-107', 'ORIGINAL_BASE_YEAR', 'link-103');">ORIGINAL_BASE_YEAR</a></tt> <tt class="py-op">/</tt> <tt class="py-number">4</tt> <tt class="py-op">-</tt> <tt id="link-108" class="py-name"><a title="openttd.constants.ORIGINAL_BASE_YEAR" class="py-name" href="#" onclick="return doclink('link-108', 'ORIGINAL_BASE_YEAR', 'link-103');">ORIGINAL_BASE_YEAR</a></tt> <tt class="py-op">/</tt> <tt class="py-number">100</tt> <tt class="py-op">+</tt> <tt id="link-109" class="py-name"><a title="openttd.constants.ORIGINAL_BASE_YEAR" class="py-name" href="#" onclick="return doclink('link-109', 'ORIGINAL_BASE_YEAR', 'link-103');">ORIGINAL_BASE_YEAR</a></tt> <tt class="py-op">/</tt> <tt class="py-number">400</tt><tt class="py-op">)</tt> </tt>
<a name="L292"></a><tt class="py-lineno">292</tt>  <tt class="py-line"> </tt>
<a name="L293"></a><tt class="py-lineno">293</tt>  <tt class="py-line"> </tt>
<a name="L294"></a><tt class="py-lineno">294</tt>  <tt class="py-line"><tt id="link-110" class="py-name" targets="Variable openttd.constants.NETWORK_GAME_INFO_VERSION=openttd.constants-module.html#NETWORK_GAME_INFO_VERSION"><a title="openttd.constants.NETWORK_GAME_INFO_VERSION" class="py-name" href="#" onclick="return doclink('link-110', 'NETWORK_GAME_INFO_VERSION', 'link-110');">NETWORK_GAME_INFO_VERSION</a></tt> <tt class="py-op">=</tt> <tt class="py-number">4</tt> </tt>
<a name="L295"></a><tt class="py-lineno">295</tt>  <tt class="py-line"> </tt>
<a name="L296"></a><tt class="py-lineno">296</tt>  <tt class="py-line"><tt id="link-111" class="py-name" targets="Variable openttd.constants.known_languages=openttd.constants-module.html#known_languages"><a title="openttd.constants.known_languages" class="py-name" href="#" onclick="return doclink('link-111', 'known_languages', 'link-111');">known_languages</a></tt><tt class="py-op">=</tt><tt class="py-op">[</tt><tt class="py-string">'ANY'</tt><tt class="py-op">,</tt><tt class="py-string">'ENGLISH'</tt><tt class="py-op">,</tt><tt class="py-string">'GERMAN'</tt><tt class="py-op">,</tt><tt class="py-string">'FRENCH'</tt><tt class="py-op">,</tt><tt class="py-string">'BRAZILIAN'</tt><tt class="py-op">,</tt><tt class="py-string">'BULGARIAN'</tt><tt class="py-op">,</tt><tt class="py-string">'CHINESE'</tt><tt class="py-op">,</tt><tt class="py-string">'CZECH'</tt><tt class="py-op">,</tt><tt class="py-string">'DANISH'</tt><tt class="py-op">,</tt><tt class="py-string">'DUTCH'</tt><tt class="py-op">,</tt><tt class="py-string">'ESPERANTO'</tt><tt class="py-op">,</tt><tt class="py-string">'FINNISH'</tt><tt class="py-op">,</tt><tt class="py-string">'HUNGARIAN'</tt><tt class="py-op">,</tt><tt class="py-string">'ICELANDIC'</tt><tt class="py-op">,</tt><tt class="py-string">'ITALIAN'</tt><tt class="py-op">,</tt><tt class="py-string">'JAPANESE'</tt><tt class="py-op">,</tt><tt class="py-string">'KOREAN'</tt><tt class="py-op">,</tt><tt class="py-string">'LITHUANIAN'</tt><tt class="py-op">,</tt><tt class="py-string">'NORWEGIAN'</tt><tt class="py-op">,</tt><tt class="py-string">'POLISH'</tt><tt class="py-op">,</tt><tt class="py-string">'PORTUGUESE'</tt><tt class="py-op">,</tt><tt class="py-string">'ROMANIAN'</tt><tt class="py-op">,</tt><tt class="py-string">'RUSSIAN'</tt><tt class="py-op">,</tt><tt class="py-string">'SLOVAK'</tt><tt class="py-op">,</tt><tt class="py-string">'SLOVENIAN'</tt><tt class="py-op">,</tt><tt class="py-string">'SPANISH'</tt><tt class="py-op">,</tt><tt class="py-string">'SWEDISH'</tt><tt class="py-op">,</tt><tt class="py-string">'TURKISH'</tt><tt class="py-op">,</tt><tt class="py-string">'UKRAINIAN'</tt><tt class="py-op">,</tt><tt class="py-string">'AFRIKAANS'</tt><tt class="py-op">,</tt><tt class="py-string">'CROATIAN'</tt><tt class="py-op">,</tt><tt class="py-string">'CATALAN'</tt><tt class="py-op">,</tt><tt class="py-string">'ESTONIAN'</tt><tt class="py-op">,</tt><tt class="py-string">'GALICIAN'</tt><tt class="py-op">,</tt><tt class="py-string">'GREEK'</tt><tt class="py-op">,</tt><tt class="py-string">'LATVIAN'</tt><tt class="py-op">]</tt> </tt>
<a name="L297"></a><tt class="py-lineno">297</tt>  <tt class="py-line"> </tt>
<a name="L298"></a><tt class="py-lineno">298</tt>  <tt class="py-line"><tt id="link-112" class="py-name" targets="Variable openttd.constants.saveload_chunk_types=openttd.constants-module.html#saveload_chunk_types"><a title="openttd.constants.saveload_chunk_types" class="py-name" href="#" onclick="return doclink('link-112', 'saveload_chunk_types', 'link-112');">saveload_chunk_types</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt> </tt>
<a name="L299"></a><tt class="py-lineno">299</tt>  <tt class="py-line">    <tt class="py-string">"CH_RIFF"</tt><tt class="py-op">:</tt>         <tt class="py-number">0</tt><tt class="py-op">,</tt> </tt>
<a name="L300"></a><tt class="py-lineno">300</tt>  <tt class="py-line">    <tt class="py-string">"CH_ARRAY"</tt><tt class="py-op">:</tt>        <tt class="py-number">1</tt><tt class="py-op">,</tt> </tt>
<a name="L301"></a><tt class="py-lineno">301</tt>  <tt class="py-line">    <tt class="py-string">"CH_SPARSE_ARRAY"</tt><tt class="py-op">:</tt> <tt class="py-number">2</tt><tt class="py-op">,</tt> </tt>
<a name="L302"></a><tt class="py-lineno">302</tt>  <tt class="py-line">    <tt class="py-string">"CH_TYPE_MASK"</tt><tt class="py-op">:</tt>    <tt class="py-number">3</tt><tt class="py-op">,</tt> </tt>
<a name="L303"></a><tt class="py-lineno">303</tt>  <tt class="py-line">    <tt class="py-string">"CH_LAST"</tt><tt class="py-op">:</tt>         <tt class="py-number">8</tt><tt class="py-op">,</tt> </tt>
<a name="L304"></a><tt class="py-lineno">304</tt>  <tt class="py-line">    <tt class="py-string">"CH_AUTO_LENGTH"</tt><tt class="py-op">:</tt>  <tt class="py-number">16</tt><tt class="py-op">,</tt> </tt>
<a name="L305"></a><tt class="py-lineno">305</tt>  <tt class="py-line"> </tt>
<a name="L306"></a><tt class="py-lineno">306</tt>  <tt class="py-line">    <tt class="py-string">"CH_PRI_0"</tt><tt class="py-op">:</tt>     <tt class="py-number">0</tt> <tt class="py-op">&lt;&lt;</tt> <tt class="py-number">4</tt><tt class="py-op">,</tt> </tt>
<a name="L307"></a><tt class="py-lineno">307</tt>  <tt class="py-line">    <tt class="py-string">"CH_PRI_1"</tt><tt class="py-op">:</tt>     <tt class="py-number">1</tt> <tt class="py-op">&lt;&lt;</tt> <tt class="py-number">4</tt><tt class="py-op">,</tt> </tt>
<a name="L308"></a><tt class="py-lineno">308</tt>  <tt class="py-line">    <tt class="py-string">"CH_PRI_2"</tt><tt class="py-op">:</tt>     <tt class="py-number">2</tt> <tt class="py-op">&lt;&lt;</tt> <tt class="py-number">4</tt><tt class="py-op">,</tt> </tt>
<a name="L309"></a><tt class="py-lineno">309</tt>  <tt class="py-line">    <tt class="py-string">"CH_PRI_3"</tt><tt class="py-op">:</tt>     <tt class="py-number">3</tt> <tt class="py-op">&lt;&lt;</tt> <tt class="py-number">4</tt><tt class="py-op">,</tt> </tt>
<a name="L310"></a><tt class="py-lineno">310</tt>  <tt class="py-line">    <tt class="py-string">"CH_PRI_SHL"</tt><tt class="py-op">:</tt>        <tt class="py-number">4</tt><tt class="py-op">,</tt> </tt>
<a name="L311"></a><tt class="py-lineno">311</tt>  <tt class="py-line">    <tt class="py-string">"CH_NUM_PRI_LEVELS"</tt><tt class="py-op">:</tt> <tt class="py-number">4</tt><tt class="py-op">,</tt> </tt>
<a name="L312"></a><tt class="py-lineno">312</tt>  <tt class="py-line"><tt class="py-op">}</tt> </tt>
<a name="L313"></a><tt class="py-lineno">313</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://openttd-python.googlecode.com">OpenTTD-Python</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Mon Oct 20 13:03:14 2008
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
